1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
function get_weasel_rules()
local sn = screen.count()
local browser_screen = 1
local im_screen = 1
local rules = {
{ rule = { class = "mpv" },
properties = { floating = true } },
{ rule = { class = "URxvt" , name = "FURxvt" },
properties = { floating = true } },
{ rule = { class = "Firefox" , name = "Mozilla Firefox" },
properties = { tag = tags[browser_screen][7] } },
{ rule = { class = "Firefox" },
properties = { tag = tags[browser_screen][7] } },
{ rule = { class = "chromium" }, -- , name = "New Tab - Chromium" },
properties = { tag = tags[browser_screen][8] } },
{ rule = { class = "Tor Browser" , name = "Tor Browser" },
properties = { tag = tags[browser_screen][12], floating = true } },
{ rule = { class = "Tor Browser" },
properties = { tag = tags[browser_screen][12], floating = true } },
{ rule = { class = "URxvt" , name = "IRC" },
properties = { tag = tags[im_screen][1] } },
{ rule = { class = "URxvt" , name = "Mail" },
properties = { tag = tags[im_screen][6] } },
{ rule = { class = "URxvt" , name = "Mail COSY" },
properties = { tag = tags[im_screen][6] } },
{ rule = { class = "chromium" , name = "Signal Private Messenger" },
properties = { tag = tags[im_screen][11] } },
{ rule = { class = "chromium" , name = "Signal" },
properties = { tag = tags[im_screen][11] } },
--{ 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:
|