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