rules: set screen number in rc.lua
This commit is contained in:
parent
c8b66801ba
commit
365590c3e9
1
rc.lua
1
rc.lua
|
@ -2,6 +2,7 @@ terminal = "urxvtc -e tmux"
|
|||
editor_cmd = "urxvtc -e vim"
|
||||
modkey = "Mod4"
|
||||
hyper = "Mod3"
|
||||
rule_screen=1
|
||||
|
||||
-- Standard awesome library
|
||||
require("awful")
|
||||
|
|
20
rules.lua
20
rules.lua
|
@ -21,32 +21,32 @@ awful.rules.rules = {
|
|||
properties = { floating = true } },
|
||||
-- Set Firefox to always map on tags number 2 of screen 1.
|
||||
{ rule = { class = "Firefox", instance = "Navigator" },
|
||||
properties = { tag = tags[2][2],
|
||||
properties = { tag = tags[rule_screen][2],
|
||||
floating = false } },
|
||||
{ rule = { class = "Pidgin" },
|
||||
properties = { tag = tags[2][3]} },
|
||||
properties = { tag = tags[rule_screen][3]} },
|
||||
{ rule = { role = "buddy_list" },
|
||||
properties = { master = true } },
|
||||
{ rule = { role = "conversation" },
|
||||
callback = awful.client.setslave},
|
||||
{ rule = { instance = "Weechat"},
|
||||
properties = { tag = tags[2][3]} ,
|
||||
properties = { tag = tags[rule_screen][3]} ,
|
||||
callback = awful.client.setslave},
|
||||
{ rule = { class = "Irssi"},
|
||||
properties = { tag = tags[2][3]} ,
|
||||
properties = { tag = tags[rule_screen][3]} ,
|
||||
callback = awful.client.setslave},
|
||||
{ rule = { class = "Claws-mail" },
|
||||
properties = { tag = tags[2][4] } },
|
||||
properties = { tag = tags[rule_screen][4] } },
|
||||
{ rule = { instance = "Gmutt" },
|
||||
properties = { tag = tags[2][4] } },
|
||||
properties = { tag = tags[rule_screen][4] } },
|
||||
{ rule = { class = "Gmpc" },
|
||||
properties = { tag = tags[2][6] } },
|
||||
properties = { tag = tags[rule_screen][6] } },
|
||||
{ rule = { class = "Deluge" },
|
||||
properties = { tag = tags[2][7] } },
|
||||
properties = { tag = tags[rule_screen][7] } },
|
||||
{ rule = { class = "Xhtop" },
|
||||
properties = { tag = tags[1][22] } },
|
||||
properties = { tag = tags[rule_screen][22] } },
|
||||
{ rule = { class = "Cellwriter" },
|
||||
properties = { tag = tags[1][1],
|
||||
properties = { tag = tags[rule_screen][1],
|
||||
ontop = true,
|
||||
size_hints_honor = true,
|
||||
float = true,
|
||||
|
|
Loading…
Reference in a new issue