From 078452aefaf3e0bdee86f282575a1170f84a78be Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Tue, 3 Mar 2020 12:59:50 +0100 Subject: [PATCH] fix exit, screenshot thumbnail path --- bin/mb-jgtools | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mb-jgtools b/bin/mb-jgtools index 5b65c32..58f362b 100755 --- a/bin/mb-jgtools +++ b/bin/mb-jgtools @@ -419,7 +419,7 @@ MENU_RADIUS=${RADIUS:-0} mkconfigfile wmctrl -k on -THUMB="$(DISPLAY=:0 scrot -t 340x213 -o /tmp/mblogout.png -e 'echo $m')" +THUMB="$(DISPLAY=:0 scrot -t 340x213 -o $HOME/.config/mabox/mblogout.png -e 'echo $m')" cat < ${MENU_ITEMS} @icon,,4,4,340,100,4,left,top,,,$THUMB @icon,,10,20,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png @@ -481,7 +481,7 @@ MENU_RADIUS=${RADIUS:-0} IMG="$(xdg-user-dir PICTURES)/screenshots/Mabox_%Y-%m-%d-%H:%M:%s.png" VIEW="'viewnior $IMG'" -THUMB="$(DISPLAY=:0 scrot -t 340x213 -o /tmp/jgscrot.png -e 'echo $m')" +THUMB="$(DISPLAY=:0 scrot -t 340x213 -o $HOME/.config/mabox/jgscrot.png -e 'echo $m')" mkconfigfile