Miscellaneous desktop stuff
This commit is contained in:
parent
6790e3ac3b
commit
4a107f660c
8 changed files with 45 additions and 15 deletions
29
hosts/totsugeki/home-manager/desktop/qt.nix
Normal file
29
hosts/totsugeki/home-manager/desktop/qt.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
variant = "Mocha";
|
||||
accent = "Mauve";
|
||||
catppuccin-kvantum =
|
||||
pkgs.catppuccin-kvantum.override { inherit variant accent; };
|
||||
in {
|
||||
home = {
|
||||
packages = with pkgs;
|
||||
[
|
||||
kdePackages.qtstyleplugin-kvantum
|
||||
libsForQt5.qtstyleplugin-kvantum
|
||||
kdePackages.qtsvg
|
||||
kora-icon-theme
|
||||
] ++ [ catppuccin-kvantum ];
|
||||
};
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme.name = "qtct";
|
||||
};
|
||||
xdg.configFile = {
|
||||
"Kvantum/kvantum.kvconfig".text = ''
|
||||
[General]
|
||||
theme=Catppuccin-${variant}-${accent}
|
||||
'';
|
||||
"Kvantum/Catppuccin-${variant}-${accent}".source =
|
||||
"${catppuccin-kvantum}/share/Kvantum/Catppuccin-${variant}-${accent}";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue