Marking applications on i3 startup
Is there a way to mark an application that is fired on i3 startup?
Is there a way to mark an application that is fired on i3 startup?
Depends on the application. You can always use for_window
and match the window’s class/title/…
If it’s a terminal emulator you are starting, urxvt (for example) supports urxvt -name foo
and you can match on that.
Since you commented that it’s chrome you care about, here is how to match that:
# Make chrome set its class to something distinguishable, also use a separate profile:
exec google-chrome --user-data-dir=/tmp/chrome-test --class=chrometest http://i3wm.org/
# As an example, make that floating:
for_window [class="^chrometest$"] floating enable
All GTK applications support this kind of thing, see http://developer.gnome.org/gtk/stable...
Maybe I should have elaborated my requirement a bit more. I would like i3 to open a bunch of google-chrome instances each opening a different website. Now I would like to tag each of the instance with a separate tag so that later I can directly jump to that window regardless of where the window lies
Asked: 2012-09-11 11:38:26 +0000
Seen: 747 times
Last updated: Sep 11 '12