1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 17:38:33 +02:00
home-manager/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
..
dconf.nix dconf: remove gnidorah from maintainers/CODEOWNERS (#2586) 2021-12-25 00:28:37 -07:00
debug.nix debug: add module 2020-03-07 15:03:44 +01:00
fontconfig.nix fontconfig: only remove directory if it exists 2021-10-06 15:02:34 +02:00
gtk.nix gtk: add cursor theme configuration (#2481) 2022-03-17 15:30:48 -04:00
lib.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
news.nix fusuma: add module 2022-03-13 22:17:55 +01:00
nix.nix nix: add module (#2623) 2022-01-27 18:58:25 +01:00
nixpkgs-disabled.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
nixpkgs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
numlock.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pam.nix pam: add yubico option 2021-12-16 19:46:47 +01:00
qt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
submodule-support.nix doc: surround name? with fancier characters 2019-09-01 21:28:40 +02:00
tmpfiles.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
version.nix Switch to 22.05 as current development release 2021-11-25 22:29:49 +01:00
vte.nix vte: add module 2020-06-14 12:20:12 +02:00
xdg-desktop-entries.nix xdg-desktop-entries: adjust to API changes 2022-03-04 01:08:00 +01:00
xdg-mime-apps.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xdg-mime.nix Replace pkgs.hostPlatform by pkgs.stdenv.hostPlatform 2021-12-03 23:36:50 +01:00
xdg-system-dirs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xdg-user-dirs.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
xdg.nix xdg: fix typo and add test 2021-11-20 09:47:27 +01:00