diff --git a/rc.lua b/rc.lua index 479d1fd..e7b89ff 100644 --- a/rc.lua +++ b/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