summaryrefslogtreecommitdiff
path: root/config/awesome/weasel-rules.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/awesome/weasel-rules.lua')
-rw-r--r--config/awesome/weasel-rules.lua37
1 files changed, 37 insertions, 0 deletions
diff --git a/config/awesome/weasel-rules.lua b/config/awesome/weasel-rules.lua
new file mode 100644
index 0000000..b645df3
--- /dev/null
+++ b/config/awesome/weasel-rules.lua
@@ -0,0 +1,37 @@
+function get_weasel_rules()
+ local sn = screen.count()
+
+ local rules = {
+ { rule = { class = "URxvt" , name = "FURxvt" },
+ properties = { floating = true } },
+
+ { rule = { class = "Firefox" , name = "Mozilla Firefox" },
+ properties = { tag = tags[sn][6] } },
+ { rule = { class = "Firefox" },
+ properties = { tag = tags[sn][6] } },
+ { rule = { class = "chromium" , name = "New Tab - Chromium" },
+ properties = { tag = tags[sn][7] } },
+ { rule = { class = "Tor Browser" , name = "Tor Browser" },
+ properties = { tag = tags[sn][8], floating = true } },
+ { rule = { class = "Tor Browser" },
+ properties = { tag = tags[sn][8], floating = true } },
+
+ { rule = { class = "URxvt" , name = "IRC" },
+ properties = { tag = tags[sn][11] } },
+ { rule = { class = "URxvt" , name = "Mail" },
+ properties = { tag = tags[sn][12] } },
+ { rule = { class = "URxvt" , name = "Mail COSY" },
+ properties = { tag = tags[sn][12] } },
+
+ { rule = { class = "chromium" , name = "Signal Private Messenger" },
+ properties = { tag = tags[sn][13] } },
+
+ --{ rule = { maximized_horizontal = true }, -- these two should remove window borders from maximized windows because they get in the way
+ -- properties = { border_width = 0 } },
+ --{ rule = { maximized_vertical = true },
+ -- properties = { border_width = 0 } },
+ }
+ return rules
+end
+
+-- vim:set softtabstop=4:ts=4:shiftwidth=4:et=1: