X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/08e7ca5204b116bff92c28fe1c4ed1b8232e3af0..1895071b65aa44015ad09cf5b08566bfd9a18a34:/.config/awesome/rc.lua diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index cb4d7e1..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) ) @@ -521,8 +521,6 @@ awful.rules.rules = { properties = { tag = tags[screen.count() == 3 and 1 or screen.count()][8], switchtotag = false, floating = false } }, -- { rule = { class = "Iceweasel", instance = "Dialog" }, -- properties = { floating = true } }, - { rule = { class = "Jpilot", instance = "jpilot" }, - properties = { tag = tags[screen.count() == 3 and 1 or screen.count()][8], switchtotag = true, floating = false } }, -- { rule = { name = "OpenOffice.org" }, -- properties = { switchtotag = true, floating = true, maximized_vertical = true, maximized_horizontal = true, callback = awful.placement.no_offscreen } }, -- { rule = { name = "Okular" },