Configure QT
This commit is contained in:
parent
82ea4a75ae
commit
c4d22b94a6
|
@ -24,6 +24,7 @@
|
||||||
++ [(import ./scripts/scripts.nix)] # personal scripts
|
++ [(import ./scripts/scripts.nix)] # personal scripts
|
||||||
++ [(import ./spotify.nix)]
|
++ [(import ./spotify.nix)]
|
||||||
++ [(import ./starship.nix)] # shell prompt
|
++ [(import ./starship.nix)] # shell prompt
|
||||||
|
++ [(import ./qt.nix)]
|
||||||
++ [(import ./vscodium.nix)] # vscode forck
|
++ [(import ./vscodium.nix)] # vscode forck
|
||||||
++ [(import ./waybar)] # status bar
|
++ [(import ./waybar)] # status bar
|
||||||
++ [(import ./zsh.nix)]; # shell
|
++ [(import ./zsh.nix)]; # shell
|
||||||
|
|
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";
|
||||||
|
}
|
Loading…
Reference in a new issue