X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/9da5e192b4a26df75e8a527ff98b769afc579ccf..5df2eb8518ed60fe876a21a4ead3037a47eddd59:/.config/awesome/rc.lua?ds=sidebyside diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 5b4ca3e..eadc1c9 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -904,11 +904,10 @@ awful.key({ cmdkey }, "l", function () awful.spawn("libreoffice") end), awful.key({ cmdkey }, "p", function () awful.spawn("pavucontrol") end), awful.key({ cmdkey }, "i", function () awful.spawn(terminal .. " -name irc -e env MOSH_TITLE_NOPREFIX=true mosh --family=all -- irc-host tmux new -As irc irssi") end), awful.key({ cmdkey }, "x", function () - awful.spawn("/usr/bin/xscreensaver -no-capture-stderr") - os.execute("sleep 5") - awful.spawn("xscreensaver-command -lock") + awful.spawn("xautolock -enable") + awful.spawn("xautolock -locknow") end), -awful.key({ cmdkey, "Shift" }, "x", function () awful.spawn("xscreensaver-command -exit") end), +awful.key({ cmdkey, "Shift" }, "x", function () awful.spawn("xautolock -disable") end), awful.key({ cmdkey }, "BackSpace", function () awful.spawn("pkill -USR1 offlineimap") end),