screenshot tool date fix

master
Daniel Napora 2022-08-19 12:00:28 +02:00
parent 9598aaa73b
commit faad61c92b
1 changed files with 2 additions and 2 deletions

View File

@ -826,7 +826,7 @@ item_height_factor=300
[ -d $(xdg-user-dir PICTURES)/screenshots ] || mkdir -p $(xdg-user-dir PICTURES)/screenshots [ -d $(xdg-user-dir PICTURES)/screenshots ] || mkdir -p $(xdg-user-dir PICTURES)/screenshots
IMG="$(xdg-user-dir PICTURES)/screenshots/Mabox_%Y-%m-%d-%H-%M-%s.png" IMG="$(xdg-user-dir PICTURES)/screenshots/Mabox_$(date +'%Y%m%d-%H-%M-%S').png"
VIEW="'viewnior $IMG'" VIEW="'viewnior $IMG'"
THUMB="$(DISPLAY=:0 scrot -t 340x213 -o $HOME/.config/mabox/jgscrot.png -e 'echo $m')" THUMB="$(DISPLAY=:0 scrot -t 340x213 -o $HOME/.config/mabox/jgscrot.png -e 'echo $m')"
@ -840,7 +840,7 @@ cat <<EOF > ${MENU_ITEMS}
 $ACTIVE_WIN,^root(window)  $ACTIVE_WIN,^root(window)
 $ACTIVE_WIN_NO_DECOR,^root(borderless)  $ACTIVE_WIN_NO_DECOR,^root(borderless)
#  $SELECTED,scrot -fs $IMG -e $VIEW #  $SELECTED,scrot -fs $IMG -e $VIEW
 $SELECTED,"""maim -s -l -b 3 --color=0.3,0.4,0.6,0.4 $IMG;viewnior $IMG"""  $SELECTED,"""maim -s -l -b 3 --color=0.3,0.4,0.6,0.4 ${IMG};viewnior ${IMG}"""
#  Multimonitor, scrot -m $IMG -e $VIEW #  Multimonitor, scrot -m $IMG -e $VIEW
^sep() ^sep()
 $OPEN_SCR_DIR,xdg-open $(xdg-user-dir PICTURES)/screenshots  $OPEN_SCR_DIR,xdg-open $(xdg-user-dir PICTURES)/screenshots