I'm trying to assign Spotify to a specific workspace but with no luck.
My i3 config file looks like this
#Startup-programs exec firefox exec spotify assign [class="Spotify"] $ws4 assign [class="Firefox"] $ws2
xprop on Spotify gives me this output
_NET_WM_ICON(CARDINAL) = WM_CLASS(STRING) = "spotify", "Spotify" WM_NAME(STRING) = "Spotify" _NET_WM_NAME(UTF8_STRING) = "Spotify" _NET_WM_DESKTOP(CARDINAL) = 0 WM_STATE(WM_STATE): window state: Normal icon window: 0x0 XdndProxy(WINDOW): window id # 0x1a00002 WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified location: 0, 0 window gravity: Static _NET_WM_PID(CARDINAL) = 27058 WM_LOCALE_NAME(STRING) = "it_IT.UTF-8" WM_CLIENT_MACHINE(STRING) = "placobravo" WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, _NET_WM_PING
At startup both firefox and spotify loads, but only firefox gets placed in its right workspace, and I really can't get what's going on since I'm using the exactly same syntax. I already tried using a different workspace but it doesn't work.
After a bit more of searching I've found a solution in another post