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:

Via Keybind in hyprland

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/spotifyis what is working for meHowever, 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/spotifyThen 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/spotifydoes work when executed manually on terminalLaunched manually:

Via Keybind in hyprland
