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

@ -27,7 +27,6 @@ dbmenu = {
developmentmenu = {
{ "anjuta", "/usr/bin/anjuta", "/usr/share/icons/hicolor/48x48/apps/anjuta.png" },
{ "bluegriffon", "/usr/bin/bluegriffon", "/usr/share/icons/hicolor/48x48/apps/bluegriffon.png" },
{ "code", "/usr/bin/code", "/usr/share/pixmaps/code-oss.png" },
{ "codeblocks", "/usr/bin/codeblocks", "/usr/share/icons/matefaenza/apps/48/codeblocks.png" },
{ "ddd", "/usr/bin/ddd", "/usr/share/pixmaps/ddd.xpm" },
{ "fluid", "/usr/bin/fluid", "/usr/share/icons/hicolor/48x48/apps/fluid.png" },

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),