feat(gui): theme sway with catppuccin

This commit is contained in:
514fpv 2024-02-12 19:25:55 +08:00
parent a4096481a0
commit ccc3ff74bd
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
4 changed files with 273 additions and 1 deletions

View file

@ -8,6 +8,12 @@ in {
options.home.catppuccin = {
enable = mkEnableOption "catppuccin colour scheme" // { default = gui; };
sway = mkOption {
type = with types; str;
default = "frappe";
description = "colour palette used in sway";
};
gtk = {
package = mkOption {
type = with types; package;
@ -54,9 +60,10 @@ in {
# override greetd theme
programs.regreet = mkIf cfg.enable {
settings = {
background.path = ./solid.png;
GTK = {
cursor_theme_name = cfg.cursor.name;
theme_name = cfg.gtk.name;
cursor_theme_name = cfg.cursor.name;
};
};
};