Hello! I’m trying to modify i3 config to have Spotify assigned to a workspace. However, it will not open in the assigned workspace. It opens in whatever workspace I’m in at the time.
Here are the relevant parts of my config file:
# bind program to workspace and focus to them on startup: assign [class="Alacritty"] $ws1 assign [class="Code"] $ws2 assign [class="(?i)brave"] $ws3 assign [class="Thunar"] $ws4 assign [class="spotify"] $ws5 assign [class="easyeffects"] $ws6 # automatic set focus new window if it opens on another workspace then the current: for_window [class="Alacritty"] focus for_window [class="Thunar"] focus for_window [class="(?i)brave"] focus for_window [class="Code"] focus for_window [class="spotify"] focus for_window [class="easyeffects"] focus
I used xprop to get the class and instance, and it appears the class is “Spotify” and instance “spotify”.
When Spotify opens, is it actually opening as a Electron? Or something like that? I would think VS Code would do the same, but it opens in WS 2 just fine.
Any thoughts or help would be great. Thanks!.. Tom