App-Clients: Add windowrulev2 example for Spotify

This commit is contained in:
Antonino Scordino 2022-10-21 00:10:36 +02:00
parent 7df5a5f10f
commit 93bfc4c486
No known key found for this signature in database
GPG key ID: F20FDE4C896FC2CB

View file

@ -22,9 +22,20 @@ the issue. The original repository by [`dasJ`](https://github.com/dasJ/spotifywm
Spotify version, and until the pull request gets merged, [`amurzeau's fork`](https://github.com/amurzeau/spotifywm) does the job.
After following the installation paragraph on the README, start Spotify with:
```bash
LD_PRELOADER=/path/to/spotifywm.so spotify
```
The path **MUST** be the absolute one. If it's not, the hack will not work.
Now you can freely manage your Spotify client. Always use `class` to manage the
window. Example:
```ini
windowrulev2 = tile, class:^(Spotify)$
windowrulev2 = workspace 9, class:^(Spotify)$
```
Pick your poison.