removed ms code (npm sucks); replaced xautolock with xscreensaver

This commit is contained in:
Johannes Findeisen 2020-03-23 00:42:34 +01:00
commit ed78705f23
2 changed files with 4 additions and 3 deletions

View file

@ -295,9 +295,11 @@ globalkeys = gears.table.join(
end),
-- Disable xautolock (win+alt#y)
awful.key({ modkey, "Mod1" }, "y", function() awful.util.spawn("/usr/bin/killall xautolock") end),
--awful.key({ modkey, "Mod1" }, "y", function() awful.util.spawn("/usr/bin/killall xautolock") end),
awful.key({ modkey, "Mod1" }, "y", function() awful.util.spawn("/usr/bin/xscreensaver-command -exit") end),
-- Enable xautolock (win+alt#x)
awful.key({ modkey, "Mod1" }, "x", function() awful.util.spawn("/usr/bin/xautolock -locker slock -time 5") end),
--awful.key({ modkey, "Mod1" }, "x", function() awful.util.spawn("/usr/bin/xautolock -locker slock -time 5") end),
awful.key({ modkey, "Mod1" }, "x", function() awful.util.spawn("/usr/bin/xscreensaver") end),
-- Some Application shortcuts
awful.key({ modkey }, "e", function() awful.util.spawn("/usr/bin/emulationstation") end),