style: add qt theme
This commit is contained in:
parent
a4d39edbdf
commit
5a0f9f2992
2 changed files with 20 additions and 4 deletions
|
|
@ -4,7 +4,6 @@
|
|||
EDITOR = "nvim";
|
||||
TERMINAL = "ghostty";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
QT_QPA_PLATFORMTHEME = "gtk3";
|
||||
QT_SCALE_FACTOR = "1";
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
|
|
@ -29,6 +28,5 @@
|
|||
XDG_DATA_DIRS = "\${XDG_DATA_DIRS}:/usr/share:/var/lib/flatpak/exports/share:\${HOME}/.local/share/flatpak/exports/share";
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||
GDK_BACKEND = "wayland";
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,9 +41,27 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
libsForQt5.qtstyleplugin-kvantum
|
||||
libsForQt5.lightly
|
||||
libsForQt5.qt5ct
|
||||
(catppuccin-kvantum.override {
|
||||
accent = "lavender";
|
||||
variant = "macchiato";
|
||||
})
|
||||
];
|
||||
|
||||
qt = {
|
||||
enable = true;
|
||||
style.name = "adwaita";
|
||||
style.package = pkgs.adwaita-qt6;
|
||||
style.name = "kvantum-dark";
|
||||
style.package = pkgs.catppuccin-kvantum;
|
||||
platformTheme.name = "qtct";
|
||||
};
|
||||
|
||||
xdg.configFile = {
|
||||
"Kvantum/Catppuccin-Macchiato-Lavender/Catppuccin-Macchiato-Blue/Catppuccin-Macchiato-Blue.kvconfig".source =
|
||||
"${pkgs.catppuccin-kvantum}/share/Kvantum/Catppuccin-Macchiato-Lavender/Cattpuccin-Macchiato-Blue.kvconfig";
|
||||
"Kvantum/Catppuccin-Macchiato-Lavender/Catppuccin-Macchiato-Blue/Catppuccin-Macchiato-Blue.svg".source =
|
||||
"${pkgs.catppuccin-kvantum}/share/Kvantum/Catppuccin-Macchiato-Lavender/Cattpuccin-Macchiato-Blue.svg";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue