From 16b193dee3801e4f323a6f1d24e37cd54feaf030 Mon Sep 17 00:00:00 2001 From: zenobit Date: Wed, 12 Apr 2023 01:17:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(dh):=20set=20correct=20icon?= =?UTF-8?q?=20path=20for=20hop=20icon=20The=20icon=20path=20for=20the=20ho?= =?UTF-8?q?p=20icon=20was=20not=20set=20correctly=20in=20some=20parts=20of?= =?UTF-8?q?=20the=20code.=20The=20variable=20$icon=5Ffile=20was=20not=20de?= =?UTF-8?q?fined,=20so=20the=20icon=20path=20was=20not=20being=20set=20cor?= =?UTF-8?q?rectly.=20The=20correct=20path=20is=20now=20set=20to=20$DH=5FIC?= =?UTF-8?q?ON=5FDIR/hop.svg.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dh b/dh index bab3dc4..de76c18 100755 --- a/dh +++ b/dh @@ -154,7 +154,7 @@ EOF if [ "$interminal" == "yes" ]; then terminal='true' fi - icon='hop' + icon="$DH_ICON_DIR/hop.svg" categories='System;Virtualization;' desktop_entry_create sudo cp ${TMP_DIR}/dh.desktop /usr/share/applications/ @@ -322,7 +322,7 @@ EOF else execmd="sh -c 'cd $VMS_DIR && yad --form --separator=\" \" --field=\"Release:CB\" \"${releases// /$replace}\" --field=\"Edition:CB\" \"${editions// /$replace}\" | xargs -I{} sh -c \"${portable_prefix}quickget $get_name {}\";$SHELL'" fi - icon='hop' + icon="$icon_file" categories='System;Virtualization;' desktop_entry_create done < "$DH_CONFIG_DIR"/supported.md @@ -376,7 +376,7 @@ EOF --button="Exit":0 & yad --dynamic --notebook --key="$key" --monitor --listen --no-buttons \ --mouse --selectable-labels \ - --window-icon="$DH_ICON_DIR"/hop.svg --width=900 --height=900 \ + --window-icon="$DH_ICON_DIR/hop.svg" --width=900 --height=900 \ --title="DistroHopper" --tab="run VM" --tab="download VM" --tab="Options" # posible: --undecorated --fixed ontop --buttons-layout=spread edge start end center --keep-icon-size --image=IMAGE --splash VAR1="$?"