1
0
Fork 0

auto respawner for slock, simple and universal

This commit is contained in:
Von Random 2014-08-01 13:28:55 +04:00
parent c8f8e68252
commit 21cd79a751

2
rc.lua
View file

@ -347,7 +347,7 @@ globalkeys = awful.util.table.join(
-- Glbal commands
awful.key({ modkey, }, 'x', function () awful.util.spawn(terminal) end),
awful.key({ modkey, }, 'q', function () awful.util.spawn('/home/von/.local/bin/ticket_watch') end),
awful.key({ modkey, }, 'z', function () awful.util.spawn('slock') end),
awful.key({ modkey, }, 'z', function () awful.util.spawn('bash -c "until slock; do :; done"') end),
awful.key({ modkey, }, 'F6', function () awful.util.spawn('/home/von/touchpad_hotkey.sh') end),
awful.key({ }, 'Print', function () awful.util.spawn('xfce4-screenshooter -ws /home/von/screenshots') end),
awful.key({ modkey, }, 'Print', function () awful.util.spawn('xfce4-screenshooter -fs /home/von/screenshots') end)