From 73524844f1d92eae1a3105f077aab5630a3bd8f7 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 11 Sep 2016 10:10:17 +0200 Subject: [PATCH 1/1] app rules --- .config/awesome/rc.lua | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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] } } } -- }}} -- 2.39.5