different-name / nix-files

My NixOS configuration files
GNU General Public License v3.0
3 stars 0 forks source link

Replace hardcoded display scale for xwayland apps #16

Closed different-name closed 2 months ago

different-name commented 2 months ago

Currently, GDK_SCALE and STEAM_FORCE_DESKTOPUI_SCALING are hardcoded to "1.5" Would be good to include XCURSOR_SIZE aswell

different-name commented 2 months ago

Added in https://github.com/Different-Name/nix-files/commit/e7935833ee06c319392e97d15c3c502b43bc71fd

Display scale can be set using nix-files.xDisplayScale like so: https://github.com/Different-Name/nix-files/blob/e7935833ee06c319392e97d15c3c502b43bc71fd/system/hosts/sodium/default.nix#L35-L38