mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-25 22:15:59 +01:00
App-Clients: Add windowrulev2
example for Spotify
This commit is contained in:
parent
7df5a5f10f
commit
93bfc4c486
1 changed files with 11 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue