prepare 0.5 release

This commit is contained in:
zenobit 2023-03-19 23:54:17 +01:00
parent f8f53e0aca
commit 9a4a4b6789
6 changed files with 288 additions and 199 deletions

11
dh
View file

@ -5,7 +5,14 @@ progname="${progname:="${0##*/}"}"
version="0.4"
GTK_THEME="alt-dialog"
CONFIG_DIR="$HOME/.config/distrohopper"
source "$CONFIG_DIR/distrohopper.conf"
ICON_DIR="/usr/share/icons/distroicons"
TERMINAL=sakura
replace='"!"'
export "CONFIG_DIR" "ICON_DIR" "TERMINAL" "replace"
cd "$VMS_DIR"
#source "$CONFIG_DIR/distrohopper.conf"
# Set traps to catch the signals and exit gracefully
trap "exit" INT
trap "exit" EXIT
@ -99,8 +106,6 @@ else
# run GUI
key=$((RANDOM % 9000 + 1000))
GTK_THEME="alt-dialog"
CONFIG_DIR="$HOME/.config/distrohopper"
source "$CONFIG_DIR/distrohopper.conf"
yad --plug="$key" --tabnum=1 --monitor --icons --listen --read-dir="$CONFIG_DIR"/ready --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 &
yad --plug="$key" --tabnum=2 --monitor --icons --listen --read-dir="$CONFIG_DIR"/supported --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 &
yad --plug="$key" --tabnum=3 --monitor --icons --listen --read-dir="$CONFIG_DIR" --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 &