I am trying to get spotify to move to a workspace as soon as it opens but I can’t seem to get to go. I have the following in my sway config:
assign [class=“Spotify”] workspace $ws5
and
swaymsg -t get_tree | grep class
returns:
“class”: “Spotify”,
If anyone has any ideas it would be of great help as it is bugging me.
Thanks.
I tried that but spoitfy doesn’t give a app_id
swaymsg -t get_tree | grep app_id
“app_id”: “firefox”,
“app_id”: “evolution”,
“app_id”: null,
“app_id”: “gnome-terminal-server”,
nothing… I have 5 other assigns that work. Some with app_id and some with class it is just Spotify that will not move.
for_window [class="Spotify"] move container to workspace $ws5
this is suppose to work, from spotify site.
1 Like
system
Closed
8
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.