1 local utils = require("utils")
3 if utils.host == "shada" then mediatag = tags[2][3] end
4 if utils.host == "chronos" then mediatag = tags[1][4] end
6 if utils.host == "shada" then wwwtag = tags[2][1] end
7 if utils.host == "chronos" then wwwtag = tags[1][2] end
9 if utils.host == "shada" then imtag = tags[2][2] end
10 if utils.host == "chronos" then imtag = tags[1][3] end
12 if utils.host == "shada" then socialtag = tags[2][4] end
13 if utils.host == "chronos" then socialtag = tags[1][5] end
16 -- All clients will match this rule.
18 properties = { border_width = beautiful.border_width,
19 border_color = beautiful.border_normal,
20 focus = awful.client.focus.filter,
22 buttons = clientbuttons } },
23 { rule = { class = "mpv" },
24 properties = { floating = true } },
25 { rule = { class = "MPlayer" },
26 properties = { floating = true } },
27 { rule = { class = "pinentry" },
28 properties = { floating = true } },
29 { rule = { class = "gimp" },
30 properties = { floating = true } },
31 { rule = { class = "Kmix" },
32 properties = { floating = true,
35 x = 1920 - 310, y = mywibox[mouse.screen].height,
36 width = 100, height = 100 } },
37 { rule = { class = "URxvt", instance = "mutt" },
38 properties = { tag = wwwtag,
39 function (c) awful.client.setslave(c) end } },
40 { rule = { class = "Dwb", type = "normal", instance = "dwb-default" },
41 properties = { tag = wwwtag,
42 function (c) awful.client.setmaster(c) end } },
43 { rule = { class = "Dwb", type = "normal", instance = "dwb-social" },
44 properties = { tag = socialtag } },
45 { rule = { class = "URxvt", instance = "ncmpcpp" },
46 properties = { tag = mediatag,
47 function (c) awful.client.setmaster(c) end } },
48 { rule = { class = "URxvt", instance = "mopidy" },
49 properties = { tag = mediatag,
50 function (c) awful.client.setmaster(c) end } },
51 { rule = { class = "URxvt", instance = "weechat" },
52 properties = { tag = imtag,
53 function (c) awful.client.setmaster(c) end } },
54 { rule = { class = "Steam" },
55 properties = { tag = tags[1][9] } },