]> git.rmz.io Git - dotfiles.git/blob - awesome/rules.lua
add awesome-freedesktop submodule
[dotfiles.git] / awesome / rules.lua
1 local utils = require("utils")
2
3 -- {{{ Rules
4 if utils.host == "shada" then clemtag = tags[2][3] end
5 if utils.host == "chronos" then clemtag = tags[1][4] end
6 awful.rules.rules = {
7 -- All clients will match this rule.
8 { rule = { },
9 properties = { border_width = beautiful.border_width,
10 border_color = beautiful.border_normal,
11 focus = awful.client.focus.filter,
12 keys = clientkeys,
13 buttons = clientbuttons } },
14 { rule = { class = "MPlayer" },
15 properties = { floating = true } },
16 { rule = { class = "pinentry" },
17 properties = { floating = true } },
18 { rule = { class = "gimp" },
19 properties = { floating = true } },
20 { rule = { class = "Kmix" },
21 properties = { floating = true,
22 skip_taskbar = true,
23 ontop = true,
24 x = 1920 - 310, y = mywibox[mouse.screen].height,
25 height = 100, width = 100 } },
26 { rule = { class = "Clementine" },
27 properties = { tag = clemtag,
28 switchtotag = true } },
29 -- Set Firefox to always map on tags number 2 of screen 1.
30 -- { rule = { class = "Firefox" },
31 -- properties = { tag = tags[1][2] } },
32 }
33 -- }}}