From 5b300e775266c2c7cb7180af16c1ae6aacdeb934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 19 Sep 2023 07:52:09 +0300 Subject: [PATCH] slock --- modules/profiles/desktop/rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/profiles/desktop/rc.lua b/modules/profiles/desktop/rc.lua index c493b5b..5559bd0 100644 --- a/modules/profiles/desktop/rc.lua +++ b/modules/profiles/desktop/rc.lua @@ -331,7 +331,7 @@ globalkeys = gears.table.join( {description = "show the menubar", group = "launcher"}), -- My customizations awful.key({ modkey }, "x", function() - awful.spawn.with_shell("sleep 0.2; slock xset dpms force off") + awful.spawn.with_shell("sleep 0.1; xset dpms force off; xlock") end) )