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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
local awful = require("awful")
function get_weasel_rules()
local browser_screen = 1
local im_screen = 1
local junk_screen = 2
local rules = {
{ rule = { class = "zoom" },
properties = { above = false } },
{ rule = { class = "Xmessage" },
properties = { floating = true } },
{ rule = { class = "plasmashell" },
properties = { floating = true } },
{ rule = { class = "Matplotlib" },
properties = { floating = true } },
{ rule = { class = "Vncviewer" },
properties = { floating = true } },
{ rule = { class = "mpv" },
properties = { floating = true } },
{ rule = { class = "URxvt" , name = "FURxvt" },
properties = { floating = true } },
{ rule = { class = "ipe" },
properties = { floating = true } },
{ rule = { class = "surfgui" },
properties = { floating = true } },
{ rule = { class = "capopgui" },
properties = { floating = true } },
{ rule = { class = "Firefox" , name = "Mozilla Firefox" },
properties = { screen = browser_screen, tag = '12',
maximized = false,
--border_width = 0
} },
{ rule = { class = "Firefox" },
properties = { screen = browser_screen, tag = '12',
maximized = false,
} },
--- { rule = { class = "Chromium" }, -- , name = "New Tab - Chromium" },
{ rule = { class = "Chromium" , name = "New Tab - Chromium" },
properties = { screen = browser_screen, tag = '13',
maximized = false,
-- border_width = 0
} },
--{ rule = { class = "Tor Browser" , name = "Tor Browser" },
-- properties = { screen = browser_screen, tag = '23', floating = true } },
{ rule = { class = "Tor Browser" },
properties = { screen = browser_screen, tag = '23', floating = true, focus = false } },
{ rule = { class = "URxvt" , name = "IRC" },
properties = { screen = im_screen, tag = '1' } },
{ rule = { class = "URxvt" , name = "Mail" },
properties = { screen = im_screen, tag = '11' } },
{ rule = { class = "URxvt" , name = "Mail COSY" },
properties = { screen = im_screen, tag = '11' } },
{ rule = { class = "URxvt" , name = "Mail Conova" },
properties = { screen = im_screen, tag = '11' } },
-- { rule = { class = "Chromium" , name = "Signal Private Messenger" },
-- properties = { screen = im_screen, tag = '21' } },
-- { rule = { class = "Chromium" , name = "Signal" },
-- properties = { screen = im_screen, tag = '21' } },
{ rule = { class = "Signal" , name = "Signal" },
properties = { screen = im_screen, tag = '21' } },
{ rule = { class = "Keepassx" , name = "KeePassX" },
properties = { screen = im_screen, tag = '22' } },
{ rule = { class = "keepassxc" , name = "KeePassXC" },
properties = { screen = im_screen, tag = '22' } },
{ rule = { class = "KeePassXC" , name = "KeePassXC" },
properties = { screen = im_screen, tag = '22' } },
{ rule = { class = "okular" , name = "Okular" },
properties = { floating = true } },
{ rule = { class = "Atril" , name = "Atril Document Viewer" },
properties = { floating = true } },
{ rule = { name = "Xnest" },
properties = { floating = true } },
{ rule = { class = "Xpdf" },
properties = { floating = true } },
{ rule = { class = "Display-im6.q16" , name = "ImageMagick: " },
properties = { floating = true } },
{ rule = { class = "Steam" },
properties = { screen = im_screen, tag = '25' } },
{ rule = { class = "factorio" },
properties = { screen = im_screen, tag = '25' } },
--{ 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 } },
{ rule = { class = "Mumble" , name = "Mumble" }, properties = { screen = im_screen, tag = '33' } },
{ rule = { class = "Pidgin" , instance = "Pidgin" }, properties = { screen = im_screen, tag = '34' } },
{ rule = { class = "URxvt" , name = "ssh gw" }, properties = { screen = junk_screen, tag = '35' } },
{ rule = { class = "thunderbird" , name = "Thunderbird" }, properties = { screen = im_screen, tag = '11' } },
}
return rules
end
-- vim:set softtabstop=4:ts=4:shiftwidth=4:et=1:
|