diff --git a/awesome/rc.lua b/awesome/rc.lua index cf2b26c..a04ad4c 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -441,7 +441,7 @@ globalkeys = awful.util.table.join( end, {description="start the web browser", group="custom"}), awful.key({modkey}, "l", function() - os.execute('slock') + os.execute('bash -c "sleep 0.1 && xset dpms force off && slock"') end, { description="Locks the screen", group="custom"}), awful.key({modkey, "Shift"}, "Tab", function()