mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-13 11:44:21 +02:00
rules: switch to the appropriate tag for emacs, web and pidgin
This commit is contained in:
parent
3aef0ba974
commit
26d41c6970
1 changed files with 7 additions and 8 deletions
15
rc/rules.lua
15
rc/rules.lua
|
@ -10,21 +10,20 @@ awful.rules.rules = {
|
|||
buttons = config.mouse.client }},
|
||||
-- Emacs
|
||||
{ rule = { class = "Emacs" },
|
||||
properties = { tag = config.tags.emacs }},
|
||||
properties = { tag = config.tags.emacs,
|
||||
switchtotag = true }},
|
||||
-- Browser stuff
|
||||
{ rule = { name = "Iceweasel" },
|
||||
properties = { tag = config.tags.www }},
|
||||
{ rule = { name = "Firefox" },
|
||||
properties = { tag = config.tags.www }},
|
||||
{ rule = { name = "Chromium" },
|
||||
properties = { tag = config.tags.www }},
|
||||
{ rule_any = { name = { "Iceweasel", "Firefox", "Chromium" } },
|
||||
properties = { tag = config.tags.www,
|
||||
switchtotag = true }},
|
||||
{ rule = { instance = "plugin-container" },
|
||||
properties = { floating = true }}, -- Flash with Firefox
|
||||
{ rule = { instance = "exe", class="Exe", instance="exe" },
|
||||
properties = { floating = true }}, -- Flash with Chromium
|
||||
-- Pidgin
|
||||
{ rule = { class = "Pidgin" },
|
||||
properties = { tag = config.tags.im }},
|
||||
properties = { tag = config.tags.im,
|
||||
switchtotag = true }},
|
||||
{ rule = { class = "Pidgin" },
|
||||
except = { role = "buddy_list" }, -- buddy_list is the master
|
||||
properties = { }, callback = awful.client.setslave },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue