Skip to content

Launching spotify with spotifywm via keybind doesnt tile spotify #13

Description

@john-basilio

Description

Firstly, spotifywm works perfect and fixes known tiling issue with Spotify and Hyprland... if you launch it manually that is (for me).
LD_PRELOAD=/usr/lib64/spotifywm.so /usr/local/bin/spotify is what is working for me

However, when launched from a keybind via hyprland.conf is when the problem occurs.
When launched from keybind, it just reverts and is back to no-tiled state like when you don't have spotifywm intalled.

Not sure how I'm gonna generate the logs for commands executed by Hyprland keybind, still playing around.

How to reproduce

On ~/.config/hypr/hyprland.conf:
$spotify = sleep 5 && LD_PRELOAD=/usr/lib64/spotifywm.so /usr/local/bin/spotify
Then execute it with a keybind.
Even without "sleep", results stay same, a not tiled spotify window.

Note that
LD_PRELOAD=/usr/lib64/spotifywm.so /usr/local/bin/spotify does work when executed manually on terminal

Launched manually:
2024-10-27T22:37:04,019561688+08:00

Via Keybind in hyprland
2024-10-27T22:37:37,318738833+08:00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions