quickemu/actions/nwg-shell

21 lines
737 B
Plaintext

# Template file for 'nwg-shell'
OSNAME="nwg-shell"
PRETTY="nwg-shell"
BASEDOF="Arch"
HOMEPAGE="https://nwg-piotr.github.io/nwg-shell"
DESCRIPTION="Arch Linux ISO with nwg-shell for sway and Hyprland"
CREDENTIALS="-"
function releases_() {
#shellcheck disable=SC2046,SC2005
echo $(web_pipe "https://sourceforge.net/projects/nwg-iso/rss?path=/" | grep 'url=' | grep '64.iso' | cut -d'/' -f12 | cut -d'-' -f3)
}
function get_() {
local HASH=""
local ISO="nwg-live-${RELEASE}-x86_64.iso"
local URL="https://sourceforge.net/projects/nwg-iso/files"
HASH="$(web_pipe "https://sourceforge.net/projects/nwg-iso/rss?path=/" | grep "${ISO}" | cut -d'>' -f3 | cut -d'<' -f1 | tail -n 1)"
echo "${URL}/${ISO} ${HASH}"
}