aboutsummaryrefslogtreecommitdiff
path: root/config.dot/awesome.link/rules.lua
blob: ea2999987f8d61e0203ea729050e09612b722e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
-- {{{ Rules
awful.rules.rules = {
    -- You can get the WM_CLASS unsing xprop(1)
    -- All clients will match this rule.
    { rule = { },
      properties = { border_width = beautiful.border_width,
                     border_color = beautiful.border_normal,
                     focus = true,
                     keys = clientkeys,
                     buttons = clientbuttons } },
    { rule = { class = "MPlayer" },
      properties = { floating = true } },
    { rule = { class = "pinentry" },
      properties = { floating = true } },
    { rule = { class = "gimp" },
      properties = { floating = true } },
    -- Size hint
    -- See https://superuser.com/questions/347001/how-can-i-force-gvim-in-awesome-to-fill-the-screen
    { rule = { class = "Gvim" },
      properties = { size_hints_honor = false } },
    { rule = { class = "XTerm" },
      properties = { size_hints_honor = false } },
    { rule = { class = "URxvt" },
      properties = { size_hints_honor = false } },
    -- Set conky transparency when using a compositor
    --{ rule = { class = "Conky" },
    --  properties = { opacity = 0 } },
    -- Set Firefox to always map on tags number 2 of screen 1.
    -- { rule = { class = "Firefox" },
    --   properties = { tag = tags[1][2] } },
}
-- }}}