1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 04:39:48 +01:00
home-manager/tests/modules/misc
polykernel e01facc340
gtk: add cursor theme configuration (#2481)
* gtk: add cursor theme configuration

- Added the `cursorTheme` under the gtk module.
- Added tests for the gtk3 settings file generation, and renamed
  the gtk2 unit test expected file for clarity.
- Added guard against generating a blank `gtk.css` when `cfg.extraCss`
  is empty.
- Replaced `concatMapStrings` calls with `concatStringsSep`. The library function
  `concatMapStrings` generates an intemediate list which is then passed to
  `concatStringsSep`, As we are not performing other transformation except
  the addition of newlines, a direct call to `concatStringsSep` is sufficient.
- Updated description of examples to be more general "~/.config" -> "$XDG_CONFIG_HOME".
- Update helper functions `toGtk3Ini` and `formatGtk2Option` to use the library
  function `boolToString` and escape the separator in the key name.

* xcursor: delegate GTK cursor settings to gtk.cursorTheme

- Added deprecation warning for GTK settings in the `xsession.cursorTheme` module.
- Modified config section to use `gtk.cursorTheme` for GTK cursor settings.
2022-03-17 15:30:48 -04:00
..
debug tests: make enableBig an option 2022-01-02 10:36:52 +01:00
fontconfig fontconfig: disable multiple font packages test 2020-07-31 17:30:57 +02:00
gtk gtk: add cursor theme configuration (#2481) 2022-03-17 15:30:48 -04:00
numlock tests: add option test.stubs 2021-09-26 23:26:38 +02:00
pam pam: add yubico option 2021-12-16 19:46:47 +01:00
qt tests: add option test.stubs 2021-09-26 23:26:38 +02:00
xdg xdg-desktop-entries: adjust to API changes 2022-03-04 01:08:00 +01:00
xsession setxkbmap: reset options before setting new ones (#2160) 2021-07-11 21:15:18 -04:00