screenshot tool date fix

master
Daniel Napora 10 months ago
parent 9598aaa73b
commit faad61c92b
  1. 4
      bin/mb-jgtools

@ -826,7 +826,7 @@ item_height_factor=300
[ -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'"
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_NO_DECOR,^root(borderless)
# $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
^sep()
$OPEN_SCR_DIR,xdg-open $(xdg-user-dir PICTURES)/screenshots

Loading…
Cancel
Save