Xsnap: %Y%m%d - better sorting.
This commit is contained in:
parent
052b345ebc
commit
d66189d5d8
4
rc.lua
4
rc.lua
|
@ -543,8 +543,8 @@ clientbuttons = awful.util.table.join(
|
|||
-- PrintScreen keys --
|
||||
globalkeys = awful.util.table.join(globalkeys,
|
||||
awful.key({ }, "Print",
|
||||
function () awful.util.spawn_with_shell ("DATE=`date +%d%m%Y_%H%M%S`;"..
|
||||
"xsnap -nogui -file $HOME/screenshots/xsnap$DATE && gqview -r $HOME/screenshots/xsnap$DATE.png") end)
|
||||
function () awful.util.spawn_with_shell ("DATE=`date +%Y%m%d_%H%M%S`;"..
|
||||
"xsnap -nogui -file $HOME/screenshots/$DATE && gqview -r $HOME/screenshots/$DATE.png") end)
|
||||
)
|
||||
|
||||
-- Set keys
|
||||
|
|
Loading…
Reference in New Issue