Configure QT
This commit is contained in:
parent
82ea4a75ae
commit
c4d22b94a6
2 changed files with 18 additions and 0 deletions
17
modules/home/qt.nix
Normal file
17
modules/home/qt.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{pkgs, ...}: {
|
||||
qt.enable = true;
|
||||
qt.platformTheme.name = "qtct";
|
||||
qt.style.name = "kvantum";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
libsForQt5.qtstyleplugin-kvantum
|
||||
];
|
||||
|
||||
xdg.configFile."Kvantum/kvantum.kvconfig".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" {
|
||||
General.theme = "Catppuccin-Mocha-Lavender";
|
||||
};
|
||||
xdg.configFile."Kvantum/Catppuccin-Mocha-Lavender".source = "${(pkgs.catppuccin-kvantum.override {
|
||||
accent = "Lavender";
|
||||
variant = "Mocha";
|
||||
})}/share/Kvantum/Catppuccin-Mocha-Lavender";
|
||||
}
|
||||
Reference in a new issue