You are not logged in.
Awesome version 3.5
Hi all,
I downloaded the shifty extension for awesome window manager to autostart my apps. The apps themselves start in the tag i want but i have trouble starting them in the correct monitor. I have 2 monitors and sometimes i want to start them on a certain monitor in a certain tag.
I have tried awful.util.spawn_with_shell("app", screennumber) but this won't work. All of my apps get spawned on the same monitor.
Anyone advice how to fix this issue?
Tia.
Last edited by sietse85 (2015-10-09 13:48:11)
Offline
-- {{{ Rules
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = awful.client.focus.filter,
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = "MPlayer" },
properties = { floating = true } },
{ rule = { class = "pinentry" },
properties = { floating = true } },
{ rule = { class = "gimp" },
properties = { floating = true } },
-- EDITORS = 4
{ rule = { instance = "notepadqq" },
properties = { tag = tags[1][3] } },
-- Virtual Machines
{ rule = { instance = "VirtualBox" },
properties = { tag = tags[1][8] } },
-- <...>
}
-- Startup
awful.util.spawn_with_shell( editor )Find your way ![]()
hth
Last edited by esa (2015-10-09 14:01:11)
Offline
thanks i will try this method ![]()
Offline
this works awesome
i got rid of shifty and implement these rules and it works. The programs spawn fine on the correct monitor. I wonder how i can retrieve the class or instance name because some of my programs are not recognized, some advice?
Offline