xlock: display a notification 10 seconds before kicking i3lock

This commit is contained in:
Vincent Bernat 2012-07-11 10:01:53 +02:00
parent 53ca8b7ad5
commit 5275a77cd3

View file

@ -1,8 +1,11 @@
-- Lockscreen -- Lockscreen
xrun("xautolock", xrun("xautolock",
"xautolock -time 3 -locker 'i3lock -n -i " .. "xautolock -notify 10 -notifier " ..
awful.util.getdir("cache") .. "/current-wallpaper.png'") " 'notify-send Lock\ screen -i /usr/share/icons/gnome/32x32/actions/system-lock-screen.png -t 10000 " ..
" Lock\ screen\ will\ be\ started\ in\ 10\ seconds...' " ..
" -time 3 -locker " ..
" 'i3lock -n -i " .. awful.util.getdir("cache") .. "/current-wallpaper.png'")
config.keys.global = awful.util.table.join( config.keys.global = awful.util.table.join(
config.keys.global, config.keys.global,