]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

improved rules
authormartin f. krafft <madduck@madduck.net>
Tue, 26 Oct 2010 18:00:51 +0000 (20:00 +0200)
committermartin f. krafft <madduck@madduck.net>
Tue, 26 Oct 2010 18:00:51 +0000 (20:00 +0200)
.config/awesome/rc.lua

index 7b2ae0e58955e5629d421a5d6d017a42ea8eb1a0..79e5cd21ab7ac6848e1fb94425374ab27eed1d79 100644 (file)
@@ -488,12 +488,16 @@ awful.rules.rules = {
       properties = { floating = false } },
     { rule = { class = "URxvt", instance = "irc" },
       properties = { floating = false, tag = tags[screen.count()][screen.count() == 1 and 2 or 1], switchtotag = true } },
       properties = { floating = false } },
     { rule = { class = "URxvt", instance = "irc" },
       properties = { floating = false, tag = tags[screen.count()][screen.count() == 1 and 2 or 1], switchtotag = true } },
-    { rule = { class = "Iceweasel" },
+    { rule = { class = "Iceweasel", instance = "Navigator" },
       properties = { tag = tags[screen.count() == 3 and 1 or screen.count()][9], switchtotag = false, floating = false } },
       properties = { tag = tags[screen.count() == 3 and 1 or screen.count()][9], switchtotag = false, floating = false } },
-    { rule = { class = "Iceweasel", instance = "Dialog" },
-      properties = { floating = true } },
-    { rule = { class = "Jpilot" },
+--    { 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 } },
       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" },
+--      properties = { switchtotag = true, floating = true, maximized_vertical = true, maximized_horizontal = true, callback = awful.placement.no_offscreen } },
 }
 -- }}}
 
 }
 -- }}}