fix exit, screenshot thumbnail path
parent
fa35436c96
commit
078452aefa
|
@ -419,7 +419,7 @@ MENU_RADIUS=${RADIUS:-0}
|
||||||
mkconfigfile
|
mkconfigfile
|
||||||
|
|
||||||
wmctrl -k on
|
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 <<EOF > ${MENU_ITEMS}
|
cat <<EOF > ${MENU_ITEMS}
|
||||||
@icon,,4,4,340,100,4,left,top,,,$THUMB
|
@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
|
@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"
|
IMG="$(xdg-user-dir PICTURES)/screenshots/Mabox_%Y-%m-%d-%H:%M:%s.png"
|
||||||
VIEW="'viewnior $IMG'"
|
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
|
mkconfigfile
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue