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