1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/modules/config
rnhmjoj dd38ae1f2c
nixos/fonts: scale X11 core cursor
Most desktop environments manage the cursor using the Xcursor library
by default; this comes with scalable or multiple-sized cursor themes.
However, when running just a simple WM (twm, bspwm, ...) the cursor
handling is left to the X server, which uses a very simple fixed bitmap
font (this is called a "core" cursor). The font is uncomfortably small
on a high DPI display and must be replaced with a saner default.

Up until recently[1] it used to be possible to change the font on the
xserver command line, however the font name is now hardcoded. It's still
possible to change it, though: here I override the `fontcursormisc`
package and set an alias that points to a vector variant of the original
cursor font. The font size is set to match the standard cursor
dimensions on a 96dpi display. It's not perfect but it's a very simple
and effective solution.

[1]: 56ea4c769c
2021-08-15 12:01:38 +02:00
..
fonts nixos/fonts: scale X11 core cursor 2021-08-15 12:01:38 +02:00
gtk
krb5
xdg nixos/xdg/portal/wlr: init 2021-06-20 11:53:45 +02:00
appstream.nix
console.nix nixos/console: allow console.font to be a path 2021-06-12 13:24:32 +02:00
debug-info.nix
gnu.nix
i18n.nix
iproute2.nix nixos/modules/config/iproute2: avoid using iproute alias 2021-04-20 01:01:33 -07:00
ldap.nix
locale.nix
malloc.nix Revert "Revert "apparmor: fix and improve the service"" 2021-04-23 07:17:55 +02:00
networking.nix
no-x-libs.nix
nsswitch.nix nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
power-management.nix
pulseaudio.nix nixos/*: replace alsa* aliases 2021-06-10 09:46:55 +02:00
qt5.nix
resolvconf.nix
shells-environment.nix Removed wrong comment 2021-06-30 21:32:08 +02:00
swap.nix Merge pull request #129408 from kurnevsky/swap-luks-discards 2021-07-23 11:11:04 +01:00
sysctl.nix
system-environment.nix
system-path.nix
terminfo.nix
unix-odbc-drivers.nix
update-users-groups.pl
users-groups.nix nixos/users-groups: check format of passwd entries 2021-04-22 13:18:38 +00:00
vte.nix
zram.nix