1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 11:19:47 +01:00
home-manager/modules/misc
Thiago Kenji Okada 32376992f7
qt: add "kde" to qt.platformTheme (#4085)
This allow you to configure Qt integration using KDE instead of
qgnomeplatform or qtstyleplugins. Useful if your theme supports both GTK
and KDE, for example Nordic.

To use this properly you will need to do some manual configuration for
now. You can set the theme settings using `~/.config/kdeglobals`.

Example:

```nix
{ ... }:
{
  qt = {
    enable = true;
    platformTheme = "kde";
  };

  xdg = {
    configFile.kdeglobals.text = lib.generators.toINI { } {
      General = {
        ColorScheme = "nordicbluish";
        Name = "nordic-bluish";
        shadeSortColumn = true;
      };
      Icons = {
        Theme = "Nordic-bluish";
      };
      KDE = {
        LookAndFeelPackage = "Nordic-bluish";
        contrast = 4;
      };
    };

    dataFile = {
      # For General.ColorScheme
      color-schemes = {
        source = "${pkgs.nordic}/share/color-schemes";
        recursive = true;
      };
      # For KDE.LookAndFeelPackage
      plasma = {
        source = "${pkgs.nordic}/share/plasma";
        recursive = true;
      };
    };
  };
}
```
2023-06-14 21:16:20 +02:00
..
dconf.nix dconf: Warn about strict typing of options 2023-05-07 12:25:32 +02:00
debug.nix debug: add module 2020-03-07 15:03:44 +01:00
editorconfig.nix editorconfig: add module (#3204) 2022-09-06 07:50:36 -06:00
fontconfig.nix fontconfig: only remove directory if it exists 2021-10-06 15:02:34 +02:00
gtk.nix gtk: Update example strings for gtk.theme.package (#2904) 2022-05-06 21:27:31 -04:00
lib.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
news.nix Add infrastructure for contacts and calendars (#4078) 2023-06-12 23:21:24 +02:00
nix.nix Clean up deprecated lib functions (#4068) 2023-06-09 11:57:20 +02:00
nixpkgs-disabled.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
nixpkgs.nix Clean up deprecated lib functions (#4068) 2023-06-09 11:57:20 +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 qt: add "kde" to qt.platformTheme (#4085) 2023-06-14 21:16:20 +02:00
specialisation.nix specialisation: renamed from specialization 2023-06-13 08:44:30 +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 current unstable version to 23.11 2023-05-31 19:11:30 +02:00
vte.nix vte: add module 2020-06-14 12:20:12 +02:00
xdg-desktop-entries.nix xdg-desktop-entries: make exec default to null (#3827) 2023-04-04 10:41:46 +02:00
xdg-mime-apps.nix xdg-mime-apps: fix regex in mimeAssociations 2022-07-26 10:08:25 +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 xdg-user-dirs: allow setting to null to skip setting 2022-11-13 10:38:54 +01:00
xdg.nix lib/file-type: fix xrefs (#4007) 2023-05-22 22:48:23 +02:00
xfconf.nix xfconf: fix type order (#3961) 2023-05-07 22:20:49 +02:00