diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-20 11:59:24 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-20 11:59:24 -0500 |
| commit | c1653d9336266db53c5d02b8a618daa2767e3c43 (patch) | |
| tree | de157735aa2beced49b82c8ab84a8cb3dd2538c2 /home/qt.nix | |
| parent | switch back to hyprlock, update style (diff) | |
| download | dotfiles-nix-c1653d9336266db53c5d02b8a618daa2767e3c43.tar.gz dotfiles-nix-c1653d9336266db53c5d02b8a618daa2767e3c43.tar.bz2 dotfiles-nix-c1653d9336266db53c5d02b8a618daa2767e3c43.zip | |
update gtk icon theme, add qt->gtk theme shim
Diffstat (limited to 'home/qt.nix')
| -rw-r--r-- | home/qt.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/home/qt.nix b/home/qt.nix new file mode 100644 index 0000000..49ea0c1 --- /dev/null +++ b/home/qt.nix @@ -0,0 +1,32 @@ +{ + lib, + config, + ... +}: let + font = "${config.theme.font.regular},10"; + qtctConf = + lib.generators.toINI {} + { + Appearance = { + custom_palette = false; + icon_theme = config.gtk.iconTheme.name; + standard_dialogs = "xdgdesktopportal"; + style = "gtk2"; + }; + Fonts = { + fixed = font; + general = font; + }; + }; +in { + qt = { + enable = true; + platformTheme.name = "qtct"; + style.name = "gtk2"; + }; + + xdg.configFile = { + "qt5ct/qt5ct.conf".text = qtctConf; + "qt6ct/qt6ct.conf".text = qtctConf; + }; +} |