Dynamically select "secondary screen"
This commit is contained in:
parent
c0f84f270b
commit
b9a820ce2f
|
@ -198,6 +198,9 @@ screen.connect_signal("property::geometry", set_wallpaper)
|
|||
|
||||
-- Tags
|
||||
-- Define a tag table which hold all screen tags.
|
||||
primary_screen = 1
|
||||
secondary_screen = awful.screen.count
|
||||
|
||||
tags = {
|
||||
names = {
|
||||
'IRC',
|
||||
|
@ -570,20 +573,20 @@ awful.rules.rules = {
|
|||
|
||||
-- Window positioning
|
||||
{ rule = { class = "Firefox" },
|
||||
properties = { screen = 1, tag = "Net" } },
|
||||
properties = { screen = primary_screen, tag = "Net" } },
|
||||
{ rule = { class = "Chromium" },
|
||||
properties = { screen = 1, tag = "Net" } },
|
||||
properties = { screen = primary_screen, tag = "Net" } },
|
||||
{ rule = { class = "Inkscape" },
|
||||
properties = { screen = 1, tag = "GFX" } },
|
||||
properties = { screen = primary_screen, tag = "GFX" } },
|
||||
{ rule = { class = "Gimp" },
|
||||
properties = { screen = 1, tag = "GFX" } },
|
||||
properties = { screen = primary_screen, tag = "GFX" } },
|
||||
{ rule = { class = "Blender" },
|
||||
properties = { screen = 1, tag = "GFX" } },
|
||||
properties = { screen = primary_screen, tag = "GFX" } },
|
||||
{ rule = { class = "Steam" },
|
||||
properties = { screen = 2, tag = "Other" } },
|
||||
properties = { screen = secondary_screen, tag = "Other" } },
|
||||
--{ rule = { class = "Steam", name = "Kaverit" },
|
||||
{ rule = { class = "Steam", name = "Friends" },
|
||||
properties = { screen = 2, tag = "Other", width = 200 } },
|
||||
properties = { screen = secondary_screen, tag = "Other", width = 200 } },
|
||||
}
|
||||
-- }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user