feat: more theming

This commit is contained in:
2024-04-26 01:46:09 +02:00
parent b9cd147c0e
commit 326de208d6
6 changed files with 191 additions and 7 deletions

View File

@@ -76,9 +76,9 @@ in
else
GTK_THEME="adw-gtk3-dark"
fi
matugen image "$WALLPAPER" --mode "$MODE"
dconf write /org/gnome/desktop/interface/gtk-theme "'$GTK_THEME'"
dconf write /org/gnome/desktop/interface/color-scheme "'prefer-$MODE'"
matugen image "$WALLPAPER" --mode "$MODE"
for i in $(pgrep -u "$USER" -x nvim); do
kill -USR1 "$i"
@@ -97,6 +97,11 @@ in
include ${homeCfg.xdg.configHome}/kitty/theme.conf
'';
gtk = {
gtk3.extraCss = "@import './theme.css';";
gtk4.extraCss = "@import './theme.css';";
};
xdg.configFile."matugen/config.toml".source = (pkgs.formats.toml { }).generate "matugen" {
config = {
reload_apps = true;
@@ -146,6 +151,18 @@ in
input_path = ./anyrun.css;
output_path = "${homeCfg.xdg.configHome}/anyrun/theme.css";
};
gtk3 = {
input_path = ./gtk.css;
output_path = "${homeCfg.xdg.configHome}/gtk-3.0/theme.css";
};
gtk4 = {
input_path = ./gtk.css;
output_path = "${homeCfg.xdg.configHome}/gtk-4.0/theme.css";
};
vesktop = {
input_path = ./discord-b.css;
output_path = "${homeCfg.xdg.configHome}/vesktop/themes/matugen.theme.css";
};
};
};
};