You are not logged in.
I always wanted one simple thing from Awesome WM. When i spawn something from prompt i'm usually switching to term/firefox/another tag/whatever and then prompted app spawns just on the side off the things i am doing right now, messing up all layout by the way. Can you guys give me a little advice how to make new apps spawn exactly on the tags where they were prompted to spawn? Thanks in advance.
Offline
use xprop | grep wm to find out relevant properties, WM_CLASS (String) will give you instance, class
change necessary parts to suit:
firefox open with modkey+shift+F6 & open on tag 6 with layout 1
awful.key({ modkey, "Shift"}, "F6", function () awful.util.spawn( "firefox", false ) end),
{ rule = { class = "Firefox" },
properties = { tag = tags[1][6] } },
chromium (use the above launch method but replace with chromium)
{ rule = { instance = "chromium" },
properties = { tag = tags[1][6] } },
chrome app (if you want these to open on different tags ensure you only use the instance property for all rules that govern chromium/google chrome otherwise the rule containing the class based rule will take precedence & all windows will span on that tag)
properties = { tag = tags[1][4] } },
{ rule = { instance = "crx_kppnaiicmkjlpgchfniijepjdakgdpkm" },
good luck, hope you sort it
Last edited by t0m5k1 (2016-07-10 18:42:42)
ROG Strix (GD30CI) - Intel Core i5-7400 CPU - 32Gb 2400Mhz - GTX1070 8GB - AwesomeWM (occasionally XFCE, i3)
If everything in life was easy, we would learn nothing!
Linux User: 401820 Steam-HearThis.at-Last FM-Reddit
Offline