kpcyrd / spotify-launcher

Client for spotify's apt repository in Rust for Arch Linux
Other
177 stars 9 forks source link

App_id/class isn't set on wayland #46

Open Kommynct opened 3 months ago

Kommynct commented 3 months ago
hyprctl clients

Window 589511335a50 -> Spotify Premium:
    mapped: 1
    hidden: 0
    at: 2,2
    size: 1276,684
    workspace: 9 (9: )
    floating: 0
    monitor: 2
    class: 
    title: Spotify Premium
    initialClass: 
    initialTitle: Spotify Premium
    pid: 469256
    xwayland: 0
    pinned: 0
    fullscreen: 0
    fullscreenmode: 0
    fakefullscreen: 0
    grouped: 0
    swallowing: 0
    focusHistoryID: 4

If i set it to run in wayland mode, there's no class/app_id set, this causes you to be unable to set certain window rules and it also makes hyprland-autoname-workspaces/sworkstyle not work.

kpcyrd commented 3 months ago

I don't know much about wayland, but I think this has to do with the spotify binary itself and not with the launcher?

Any chance it's related to #40?

Kommynct commented 3 months ago

Yes it is likely the cause of that as well

The-Lost-Light commented 3 weeks ago

https://community.spotify.com/t5/Desktop-Linux/WM-CLASS-window-property-on-Linux/td-p/1247042