screenshot default name

* fixed name resolution to seconds using date str formatting
This commit is contained in:
ackman678
2019-02-28 15:34:25 -08:00
parent 4ea527e581
commit c554d6026e
3 changed files with 16 additions and 9 deletions

View File

@@ -11,9 +11,8 @@
set $mod Mod4
#jba
#full screenshot is scrot with no flag by default. Add -s for selection cursor or -u for focus window
bindsym --release $mod+z exec scrot '%Y-%m-%d_$wx$h.png' -e '~/bin/mv2figs.sh $f'
bindsym --release $mod+z exec scrot '%Y-%m-%d_%H%M%S_$wx$h.png' -e '~/bin/mv2figs.sh $f'
#bindsym --release $mod+z exec scrot -u '%Y-%m-%d_$wx$h.png' -e '~/bin/mv2figs.sh $f'
bindsym $mod+Shift+z exec "date --iso-8601='seconds' | tr -d '\n' | xclip -selection clipboard"
@@ -232,7 +231,7 @@ bar {
colors {
background $base00
separator $base01
separator $base03
statusline $base04
# State Border BG Text