vincentbernat.i3wm-configur.../rc/rules.lua

37 lines
1.3 KiB
Lua
Raw Normal View History

2012-07-06 14:19:54 +02:00
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = true,
maximized_vertical = false,
maximized_horizontal = false,
2012-07-06 14:19:54 +02:00
keys = config.keys.client,
buttons = config.mouse.client }},
-- Emacs
2012-07-06 14:19:54 +02:00
{ rule = { class = "Emacs" },
properties = { tag = config.tags.emacs }},
-- Browser stuff
{ rule_any = { name = { "Iceweasel", "Firefox", "Chromium" } },
properties = { tag = config.tags.www }},
{ rule = { instance = "plugin-container" },
properties = { floating = true }}, -- Flash with Firefox
{ rule = { instance = "exe", class="Exe", instance="exe" },
properties = { floating = true }}, -- Flash with Chromium
-- Pidgin
2012-07-06 14:19:54 +02:00
{ rule = { class = "Pidgin" },
properties = { tag = config.tags.im }},
{ rule = { class = "Pidgin" },
except = { role = "buddy_list" }, -- buddy_list is the master
properties = { }, callback = awful.client.setslave },
-- Should not be master
{ rule_any = { class =
{ "URxvt",
"Transmission-gtk",
"Keepassx",
} },
except = { icon_name = "QuakeConsoleNeedsUniqueName" },
properties = { },
callback = awful.client.setslave },
2012-07-06 14:19:54 +02:00
}