1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/pkgs/applications/audio/spotify
Rebecca Turner 4f03644c56 spotify: support --force-device-scale-factor
Add a Spotify wrapper with a `deviceScaleFactor` argument to set the
`--force-device-scale-factor` flag for high-DPI displays. If unset,
nothing is added.

This allows e.g.

   spotify.override { deviceScaleFactor = 1.66; }

Uses a separate wrapper derivation as suggested by @Ma27.
Uses `wrapProgram` instead of `makeWrapper` as suggested by @Ma27.
2020-09-21 13:50:19 -04:00
..
default.nix spotify: support --force-device-scale-factor 2020-09-21 13:50:19 -04:00
update.sh
wrapper.nix spotify: support --force-device-scale-factor 2020-09-21 13:50:19 -04:00