From 21cd79a751bc7889371cd4ffbefd5864f83ab7c9 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 1 Aug 2014 13:28:55 +0400 Subject: [PATCH] auto respawner for slock, simple and universal --- rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.lua b/rc.lua index 33f2c63..0221a09 100644 --- a/rc.lua +++ b/rc.lua @@ -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)