1 local utils = require("utils")
4 if utils.host == "shada" then mediatag = tags[2][3] end
5 if utils.host == "chronos" then mediatag = tags[1][4] end
7 if utils.host == "shada" then wwwtag = tags[2][1] end
8 if utils.host == "chronos" then wwwtag = tags[1][2] end
10 if utils.host == "shada" then imtag = tags[2][2] end
11 if utils.host == "chronos" then imtag = tags[1][3] end
14 -- All clients will match this rule.
16 properties = { border_width = beautiful.border_width,
17 border_color = beautiful.border_normal,
18 focus = awful.client.focus.filter,
20 buttons = clientbuttons } },
21 { rule = { class = "mpv" },
22 properties = { floating = true } },
23 { rule = { class = "MPlayer" },
24 properties = { floating = true } },
25 { rule = { class = "pinentry" },
26 properties = { floating = true } },
27 { rule = { class = "gimp" },
28 properties = { floating = true } },
29 { rule = { class = "Kmix" },
30 properties = { floating = true,
33 x = 1920 - 310, y = mywibox[mouse.screen].height,
34 height = 100, width = 100 } },
35 { rule = { class = "Clementine" },
36 properties = { tag = mediatag,
37 switchtotag = true } },
38 { rule = { class = "Dwb", type = "normal", instance = "dwb" },
39 properties = { tag = wwwtag } },
40 { rule = { class = "Dwb", type = "normal", instance = "dwb-social" },
41 properties = { tag = tags[2][4] } },
42 { rule = { class = "Qupzilla" },
43 properties = { tag = wwwtag } },
44 { rule = { class = "Qupzilla", name = "Detached ViewTube - QupZilla" },
45 properties = { floating = true } },
46 { rule = { class = "Quassel" },
47 properties = { tag = imtag,
48 function (c) awful.client.setmaster(c) end } },
49 { rule = { class = "Kopete" },
50 properties = { tag = imtag,
51 function (c) awful.client.setslave(c) end } },