mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 10:18:34 +02:00
xlock: display a notification 10 seconds before kicking i3lock
This commit is contained in:
parent
53ca8b7ad5
commit
5275a77cd3
1 changed files with 5 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue