From: martin f. krafft Date: Mon, 12 Sep 2016 09:57:07 +0000 (+0200) Subject: rewrite special client rules X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/abf0c0049eedc59f0aea2ac869a8e79551aead49?ds=sidebyside rewrite special client rules --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 2c5ca50..2280852 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -569,16 +569,16 @@ awful.rules.rules = { --DISABLED-- }, properties = { titlebars_enabled = true } --DISABLED-- }, - { rule = { class = "URxvt" }, - properties = { floating = false } }, { rule = { class = "URxvt", instance = "irc" }, - properties = { tag = tags[screen.count()][screen.count() == 1 and 2 or 1] } }, + properties = { screen = screen.count(), tag = screen.count() == 1 and "2" or "1" } }, { rule = { class = "Firefox", instance = "Navigator" }, - properties = { tag = tags[screen.count() == 3 and 2 or screen.count()][9] } }, + properties = { screen = screen.count() == 3 and "2" or "3", tag = "9" } }, { rule = { class = "Icedove", instance = "Mail" }, - properties = { tag = tags[screen.count() == 3 and 2 or screen.count()][8] } }, + properties = { screen = screen.count() == 3 and "2" or "3", tag = "8" } }, { rule = { class = "chromium" }, - properties = { tag = tags[screen.count() == 3 and 2 or screen.count()][9] } } + properties = { screen = screen.count() == 3 and "2" or "3", tag = "9" } }, + { rule = { class = "Gscan2pdf", instance = "gscan2pdf" }, + properties = { screen = 1, tag = "7" } }, } -- }}}