Xsnap: %Y%m%d - better sorting.

This commit is contained in:
Kolan Sh 2017-04-12 11:10:36 +03:00
parent 052b345ebc
commit d66189d5d8
1 changed files with 2 additions and 2 deletions

4
rc.lua
View File

@ -543,8 +543,8 @@ clientbuttons = awful.util.table.join(
-- PrintScreen keys -- -- PrintScreen keys --
globalkeys = awful.util.table.join(globalkeys, globalkeys = awful.util.table.join(globalkeys,
awful.key({ }, "Print", awful.key({ }, "Print",
function () awful.util.spawn_with_shell ("DATE=`date +%d%m%Y_%H%M%S`;".. function () awful.util.spawn_with_shell ("DATE=`date +%Y%m%d_%H%M%S`;"..
"xsnap -nogui -file $HOME/screenshots/xsnap$DATE && gqview -r $HOME/screenshots/xsnap$DATE.png") end) "xsnap -nogui -file $HOME/screenshots/$DATE && gqview -r $HOME/screenshots/$DATE.png") end)
) )
-- Set keys -- Set keys