- buttons = clientbuttons } },
- { rule = { class = "MPlayer" },
- properties = { floating = true } },
- { rule = { class = "pinentry" },
- properties = { floating = true } },
- { rule = { class = "gimp" },
- properties = { floating = true } },
- { rule = { class = "twinkle" },
- properties = { floating = true } },
- { rule = { class = "Play stream" },
- properties = { floating = true } },
- { rule = { class = "gscan2pdf" },
- properties = { floating = true } },
- { rule = { class = "Add-ons" },
- properties = { floating = true } },
- { rule = { class = "Iceweasel" },
- properties = { tag = tags[1][screen.count()>1 and 1 or 9], switchtotag = false } },
- { rule = { class = "Iceweasel", role = "Manager" },
- properties = { floating = true } },
- { rule = { class = "-v" },
- properties = { tag = screen.count()>1 and tags[3][2] or tags[1][8], switchtotag = false } },
+ buttons = clientbuttons },
+ callback = awful.placement.centered },
+ { rule = { class = "URxvt" },
+ 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", instance = "Navigator" },
+ 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", 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" },
+-- properties = { switchtotag = true, floating = true, maximized_vertical = true, maximized_horizontal = true, callback = awful.placement.no_offscreen } },