From: martin f. krafft Date: Thu, 10 Apr 2014 15:00:29 +0000 (+0200) Subject: temporarily log xscreensaver X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/1895071b65aa44015ad09cf5b08566bfd9a18a34 temporarily log xscreensaver --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 71ec9e1..4a28c5e 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -491,7 +491,7 @@ globalkeys = awful.util.table.join(globalkeys, awful.key({ cmdmodkey }, "o", function () awful.util.spawn("okular") end), awful.key({ cmdmodkey }, "l", function () awful.util.spawn("libreoffice") end), awful.key({ cmdmodkey }, "i", function () awful.util.spawn(terminal .. " -title irc -name irc -e mosh -- irc screen -dr irc") end), - awful.key({ cmdmodkey }, "x", function () awful.util.spawn_with_shell("/sbin/start-stop-daemon --start --background --exec /usr/bin/xscreensaver; xscreensaver-command -lock") end), + awful.key({ cmdmodkey }, "x", function () awful.util.spawn_with_shell("/sbin/start-stop-daemon --start --background --exec /usr/bin/xscreensaver -- -no-capture-stderr -log ~/.tmp/xscreensaver.log; xscreensaver-command -lock") end), awful.key({ cmdmodkey, "Shift" }, "x", function () awful.util.spawn("xscreensaver-command -exit") end), awful.key(nil, "XF86ScreenSaver", function () awful.util.spawn("xset dpms force off") end) )