dasJ/spotifywm

Set Spotify's WM_NAME before opening the window

C++

130

5 commits

updated Aug 15, 2023

See the code

README

spotifywm

Makes spotify more friendly to window managers by settings a class name before opening the window. This allows WMs like i3 to correctly discover the window and fit it into a prepared layout.

Inspired by steamwm.

Installation

$ make

Usage

LD_PRELOAD=/path/to/spotifywm.so /path/to/spotify/binary

Under Arch Linux, do not run the wrapper script in /usr/bin, it will override LD_PRELOAD. Use /usr/share/spotify/spotify instead.

Contributors

dasJ

3 commits

amurzeau

2 commits

dasJ/spotifywm

Set Spotify's WM_NAME before opening the window

C++

130

5 commits

updated Aug 15, 2023

See the code

README

spotifywm

Makes spotify more friendly to window managers by settings a class name before opening the window. This allows WMs like i3 to correctly discover the window and fit it into a prepared layout.

Inspired by steamwm.

Installation

$ make

Usage

LD_PRELOAD=/path/to/spotifywm.so /path/to/spotify/binary

Under Arch Linux, do not run the wrapper script in /usr/bin, it will override LD_PRELOAD. Use /usr/share/spotify/spotify instead.

Contributors

dasJ

3 commits

amurzeau

2 commits

Languages

C++

92.2%

Makefile

7.8%