1 local utils = require("utils")
4 local sc = screen.count()
6 if sc == 1 then mediatag = tags[1][9] end
7 if sc == 2 then mediatag = tags[2][3] end
9 if sc == 1 then wwwtag = tags[1][2] end
10 if sc == 2 then wwwtag = tags[2][1] end
12 if sc == 1 then imtag = tags[1][3] end
13 if sc == 2 then imtag = tags[2][2] end
15 if sc == 1 then socialtag = tags[1][4] end
16 if sc == 2 then socialtag = tags[2][4] end
19 -- All clients will match this rule.
21 properties = { border_width = beautiful.border_width,
22 border_color = beautiful.border_normal,
23 focus = awful.client.focus.filter,
26 buttons = clientbuttons,
27 screen = awful.screen.preferred,
28 placement = awful.placement.no_overlap+awful.placement.no_offscreen } },
38 properties = { floating = true } },
39 { rule = { class = "mpv" },
40 properties = { border_width = 0,
42 { rule = { class = terminal_class, instance = "pulsemixer" },
43 properties = { floating = true,
46 placement = awful.placement.top_right,
48 s = awful.screen.focused()
49 c:connect_signal("unfocus", function (c) c:kill() end)
51 { rule = { class = "Wine"},
52 properties = { floating = true } },
53 { rule = { class = terminal_class },
54 properties = { opacity = 0.95 } },
55 { rule_any = { class = { "Steam", "steam" } },
56 properties = { tag = tags[1][9] } },