From 481f66133ffdf8e27287e9a3f221a1187f58c4e7 Mon Sep 17 00:00:00 2001 From: zenobit Date: Sun, 12 Mar 2023 15:21:22 +0100 Subject: [PATCH] supported.txt > supported.md --- config/supported.md | 69 +++++++++++++++++++++++++++++++++++++++++++++ quickgui | 8 ++++-- 2 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 config/supported.md diff --git a/config/supported.md b/config/supported.md new file mode 100644 index 0000000..faa7fd3 --- /dev/null +++ b/config/supported.md @@ -0,0 +1,69 @@ +agarimos +alma +alpine +android +archlinux +archcraft +arcolinux +batocera +blendos +cachyos +centos-stream +cereus +debian +deepin +devuan +dietpi +dragonflybsd +elementary +endeavouros +endless +fedora +freebsd +freedos +fvoid +gabeeos +garuda +gentoo +ghostbsd +haiku +kali +kdeneon +kolibrios +kubuntu +linuxmint +lmde +mageia +manjaro +mxlinux +netboot +netbsd +nixos +lubuntu +openbsd +opensuse +oraclelinux +popos +reactos +rebornos +rockylinux +siduction +slackware +slitaz +solus +steamos +tails +truenas-core +truenas-scale +ubuntu +ubuntu-budgie +ubuntukylin +ubuntu-mate +ubuntustudio +ubuntu-unity +void +voidpup +vxlinux +xerolinux +xubuntu +zorin diff --git a/quickgui b/quickgui index ccececd..4cc2783 100755 --- a/quickgui +++ b/quickgui @@ -1,11 +1,13 @@ #!/bin/bash +version="0.1" # DEBUG mod #bash -x quickyad 2>&1 | tee output.log # YAD gui script using Forked excellent quickemu #TODO Download Icons #TODO Add homepages to right click +#TODO solve yad output (null) echo "Running..." # dependencies checks @@ -59,7 +61,7 @@ done # remove desktop files (supported VMs) rm "$CONFIG_DIR"/vms_supported/* # get supported VMs -quickget | sed 1d | cut -d':' -f2 | grep -o '[^ ]*' > "$CONFIG_DIR/supported.txt" +quickget | sed 1d | cut -d':' -f2 | grep -o '[^ ]*' > "$CONFIG_DIR/supported.md" while read -r get_name; do vm_desktop_file=$(echo "$get_name" | tr ' ' '_') releases=$(quickget "$vm_desktop_file" | grep 'Releases' | cut -d':' -f2 | sed 's/^ //') @@ -97,12 +99,12 @@ Icon=$icon_file Categories=System;Virtualization;" echo "$desktop_file_content" > "$CONFIG_DIR"/vms_supported/"$vm_desktop_file".desktop fi -done < "$CONFIG_DIR"/supported.txt +done < "$CONFIG_DIR"/supported.md # show YAD notebook yad --plug="$key" --tabnum=1 --icons --listen --read-dir="$CONFIG_DIR"/vms_ready --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 & yad --plug="$key" --tabnum=2 --icons --listen --read-dir="$CONFIG_DIR"/vms_supported --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 & yad --plug="$key" --tabnum=3 --icons --listen --read-dir="$CONFIG_DIR" --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 & -yad --dynamic --notebook --key="$key" --width=900 --height=800 --title="GUI for Quickemu" --listen --no-buttons --tab="run VM" --tab="download and run VM" --tab="settings" +yad --dynamic --notebook --key="$key" --width=900 --height=800 --title="DistroHopper $version" --listen --no-buttons --tab="run VM" --tab="download VM" --tab="settings" # exit peacfully exit 0