From: martin f. krafft Date: Tue, 30 Aug 2011 06:19:10 +0000 (+0200) Subject: tag and rule updates X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/9fc65316a830abd0648b2f8df4f839fb55408fff?ds=sidebyside tag and rule updates --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 5d69445..0cf1ab6 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -463,9 +463,12 @@ globalkeys = awful.util.table.join(globalkeys, awful.key({ cmdmodkey }, "n", function () awful.util.spawn("sensible-browser") end), awful.key({ cmdmodkey }, "m", function () awful.util.spawn(terminal .. " -e mutt -f =store") end), awful.key({ cmdmodkey }, "t", function () awful.util.spawn(terminal) end), - awful.key({ cmdmodkey }, "c", function () awful.util.spawn(terminal .. " -e python") end), + awful.key({ cmdmodkey }, "y", function () awful.util.spawn(terminal .. " -e python") end), + awful.key({ cmdmodkey }, "c", function () awful.util.spawn(terminal .. " -e wyrd") end), awful.key({ cmdmodkey }, "r", function () mypromptbox[mouse.screen]:run() end), - awful.key({ cmdmodkey }, "j", function () awful.util.spawn("jpilot") end), + awful.key({ cmdmodkey }, "g", function () awful.util.spawn("gscan2pdf") end), + 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 ssh -Snone -t 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, "Shift" }, "x", function () awful.util.spawn("xscreensaver-command -exit") end), @@ -497,9 +500,9 @@ awful.rules.rules = { -- 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" }, + -- { rule = { name = "OpenOffice.org" }, + -- properties = { switchtotag = true, floating = true, maximized_vertical = true, maximized_horizontal = true, callback = awful.placement.no_offscreen } }, + -- { rule = { name = "Okular" }, -- properties = { switchtotag = true, floating = true, maximized_vertical = true, maximized_horizontal = true, callback = awful.placement.no_offscreen } }, } -- }}}