]> git.rmz.io Git - dotfiles.git/blob - awesome/rules.lua
add rule for Detached ViewTube clients
[dotfiles.git] / awesome / rules.lua
1 local utils = require("utils")
2
3 -- {{{ Rules
4 if utils.host == "shada" then mediatag = tags[2][3] end
5 if utils.host == "chronos" then mediatag = tags[1][4] end
6
7 if utils.host == "shada" then wwwtag = tags[2][1] end
8 if utils.host == "chronos" then wwwtag = tags[1][2] end
9
10 if utils.host == "shada" then imtag = tags[2][2] end
11 if utils.host == "chronos" then imtag = tags[1][3] end
12
13 awful.rules.rules = {
14 -- All clients will match this rule.
15 { rule = { },
16 properties = { border_width = beautiful.border_width,
17 border_color = beautiful.border_normal,
18 focus = awful.client.focus.filter,
19 keys = clientkeys,
20 buttons = clientbuttons } },
21 { rule = { class = "MPlayer" },
22 properties = { floating = true } },
23 { rule = { class = "pinentry" },
24 properties = { floating = true } },
25 { rule = { class = "gimp" },
26 properties = { floating = true } },
27 { rule = { class = "Kmix" },
28 properties = { floating = true,
29 skip_taskbar = true,
30 ontop = true,
31 x = 1920 - 310, y = mywibox[mouse.screen].height,
32 height = 100, width = 100 } },
33 { rule = { class = "Clementine" },
34 properties = { tag = mediatag,
35 switchtotag = true } },
36 { rule = { class = "Qupzilla" },
37 properties = { tag = wwwtag } },
38 { rule = { class = "Qupzilla", name = "Detached ViewTube - QupZilla" },
39 properties = { floating = true } },
40 { rule = { class = "Quassel" },
41 properties = { tag = imtag } },
42 { rule = { class = "Kopete" },
43 properties = { tag = imtag } },
44 }
45 -- }}}