mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 12:45: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.
|
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:
|
After following the installation paragraph on the README, start Spotify with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
LD_PRELOADER=/path/to/spotifywm.so spotify
|
LD_PRELOADER=/path/to/spotifywm.so spotify
|
||||||
```
|
```
|
||||||
|
|
||||||
The path **MUST** be the absolute one. If it's not, the hack will not work.
|
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.
|
Pick your poison.
|
||||||
|
|
Loading…
Reference in a new issue