3 ms·
See my dotfiles: https://github.com/Kubuxu/dotfiles/blob/master/i3/config.base#L193-L211 https://github.com/Kubuxu/dotfiles/blob/master/i3/config.bas... 'assig
by Kubuxu 7y ago
See my dotfiles: https://github.com/Kubuxu/dotfiles/blob/master/i3/config.base#L193-L211 https://github.com/Kubuxu/dotfiles/blob/master/i3/config.bas...
'assign' allows you make so if window opens, it opens on given screen
Lower, you can see me switch to given workspace before autostarting apps.
- flyingcircus3 7y agoI've tried the assign keyword, but I can't get it to work with Firefox or slack assign [class="Firefox] 3 assign [class="Slack"] 4 But it doesn't work for me
- cycomanic 7y agoIt definitely works. I'm on mobile now but remember that the two parameters in the wm_class correspond to name and class (I always forget which is which) . Also you can use regex in the matching iirc