From abf0c0049eedc59f0aea2ac869a8e79551aead49 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 12 Sep 2016 11:57:07 +0200 Subject: [PATCH] rewrite special client rules --- .config/awesome/rc.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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" } }, } -- }}} -- 2.39.5