From: martin f. krafft Date: Sun, 11 Sep 2016 08:10:17 +0000 (+0200) Subject: app rules X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/73524844f1d92eae1a3105f077aab5630a3bd8f7?ds=sidebyside;hp=01e8bae5bdc4719c23fbd479814c35dddff5fbab app rules --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 4f9fe01..71b1ab0 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -541,9 +541,16 @@ awful.rules.rules = { }, properties = { titlebars_enabled = false } }, - -- Set Firefox to always map on the tag named "2" on screen 1. - -- { rule = { class = "Firefox" }, - -- properties = { screen = 1, tag = "2" } }, + { rule = { class = "URxvt" }, + properties = { floating = false } }, + { rule = { class = "URxvt", instance = "irc" }, + properties = { tag = tags[screen.count()][screen.count() == 1 and 2 or 1] } }, + { rule = { class = "Firefox", instance = "Navigator" }, + properties = { tag = tags[screen.count() == 3 and 2 or screen.count()][9] } }, + { rule = { class = "Icedove", instance = "Mail" }, + properties = { tag = tags[screen.count() == 3 and 2 or screen.count()][8] } }, + { rule = { class = "chromium" }, + properties = { tag = tags[screen.count() == 3 and 2 or screen.count()][9] } } } -- }}}