From 93bfc4c486bcc6685d2532ddfb5f0e519b3777a4 Mon Sep 17 00:00:00 2001 From: Antonino Scordino Date: Fri, 21 Oct 2022 00:10:36 +0200 Subject: [PATCH] App-Clients: Add `windowrulev2` example for Spotify --- pages/Useful Utilities/App-Clients.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pages/Useful Utilities/App-Clients.md b/pages/Useful Utilities/App-Clients.md index 3ad0cc0..1edbe80 100644 --- a/pages/Useful Utilities/App-Clients.md +++ b/pages/Useful Utilities/App-Clients.md @@ -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.