Use stylix and refactor related things
This commit is contained in:
parent
f173a43c72
commit
96dc27ff50
19 changed files with 600 additions and 397 deletions
|
|
@ -4,34 +4,4 @@
|
|||
...
|
||||
}: {
|
||||
qt.enable = true;
|
||||
qt.platformTheme.name = "qtct";
|
||||
qt.style.name = "kvantum";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
libsForQt5.qtstyleplugin-kvantum
|
||||
libsForQt5.qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
];
|
||||
|
||||
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 {
|
||||
variant = "mocha";
|
||||
accent = "lavender";
|
||||
})}/share/Kvantum/catppuccin-mocha-lavender";
|
||||
|
||||
xdg.configFile."qt5ct/qt5ct.conf".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" {
|
||||
Appearance = {
|
||||
style = "kvantum-dark";
|
||||
icon_theme = "Papirus-Dark";
|
||||
};
|
||||
|
||||
Fonts = {
|
||||
general = "\"JetBrainsMono Nerd Font,12,-1,5,50,0,0,0,0,0,Regular\"";
|
||||
fixed = "\"JetBrainsMono Nerd Font,12,-1,5,50,0,0,0,0,0,Regular\"";
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."qt6ct/qt6ct.conf".source = config.xdg.configFile."qt5ct/qt5ct.conf".source;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue