mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-13 03:34:22 +02:00
icons: move icon lookup in a seperate module
This commit is contained in:
parent
52090d90ea
commit
335b80262d
8 changed files with 104 additions and 26 deletions
|
@ -1,8 +1,12 @@
|
|||
-- Lockscreen
|
||||
|
||||
local icons = loadrc("icons", "vbe/icons")
|
||||
|
||||
xrun("xautolock",
|
||||
"xautolock -notify 10 -notifier " ..
|
||||
" 'notify-send Lock\\ screen -i /usr/share/icons/gnome/32x32/actions/system-lock-screen.png -t 10000 " ..
|
||||
" 'notify-send Lock\\ screen -i " ..
|
||||
icons.lookup({name = "system-lock-screen", type = "actions" }) ..
|
||||
" -t 10000 " ..
|
||||
" Lock\\ screen\\ will\\ be\\ started\\ in\\ 10\\ seconds...' " ..
|
||||
" -time 3 -locker " ..
|
||||
" 'i3lock -n -i " .. awful.util.getdir("cache") .. "/current-wallpaper.png'")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue