Fix GNOME Shell theme output path and improve Zen theming
- Shell theme CSS now outputs directly to themes directory - Zen userChrome.css updated with more UI variables - Remove redundant copy step from recolor script Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3873de6003
commit
0eb6c587dc
3 changed files with 9 additions and 10 deletions
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
[templates.gnome-shell]
|
[templates.gnome-shell]
|
||||||
input_path = "${inputs.self}/templates/gnome-shell.css"
|
input_path = "${inputs.self}/templates/gnome-shell.css"
|
||||||
output_path = "${config.home.homeDirectory}/.local/share/matugen/gnome-shell.css"
|
output_path = "${config.home.homeDirectory}/.local/share/themes/WallpaperShell/gnome-shell/gnome-shell.css"
|
||||||
|
|
||||||
[templates.zen]
|
[templates.zen]
|
||||||
input_path = "${inputs.self}/templates/zen-userChrome.css"
|
input_path = "${inputs.self}/templates/zen-userChrome.css"
|
||||||
|
|
|
||||||
|
|
@ -88,11 +88,6 @@ done
|
||||||
# Update icon cache
|
# Update icon cache
|
||||||
gtk-update-icon-cache -f "$ICON_DIR" 2>/dev/null || true
|
gtk-update-icon-cache -f "$ICON_DIR" 2>/dev/null || true
|
||||||
|
|
||||||
# Install GNOME Shell theme
|
|
||||||
SHELL_THEME="$HOME/.local/share/themes/WallpaperShell/gnome-shell"
|
|
||||||
mkdir -p "$SHELL_THEME"
|
|
||||||
cp "$HOME/.local/share/matugen/gnome-shell.css" "$SHELL_THEME/gnome-shell.css" 2>/dev/null
|
|
||||||
|
|
||||||
# Map wallpaper palette to closest GNOME accent color
|
# Map wallpaper palette to closest GNOME accent color
|
||||||
# Primary color RGB: {{colors.primary.default.red}}, {{colors.primary.default.green}}, {{colors.primary.default.blue}}
|
# Primary color RGB: {{colors.primary.default.red}}, {{colors.primary.default.green}}, {{colors.primary.default.blue}}
|
||||||
R={{colors.primary.default.red}}
|
R={{colors.primary.default.red}}
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,15 @@
|
||||||
/* Wallpaper-based colors generated by matugen */
|
/* Wallpaper-based colors generated by matugen */
|
||||||
:root {
|
:root {
|
||||||
--zen-primary-color: {{colors.primary.default.hex}} !important;
|
--zen-primary-color: {{colors.primary.default.hex}} !important;
|
||||||
--zen-colors-primary: {{colors.primary.default.hex}} !important;
|
--zen-colors-primary: {{colors.primary_container.default.hex}} !important;
|
||||||
--zen-colors-secondary: {{colors.secondary.default.hex}} !important;
|
--zen-colors-secondary: {{colors.secondary_container.default.hex}} !important;
|
||||||
--zen-colors-tertiary: {{colors.tertiary.default.hex}} !important;
|
--zen-colors-tertiary: {{colors.tertiary_container.default.hex}} !important;
|
||||||
--zen-colors-border: {{colors.outline_variant.default.hex}} !important;
|
--zen-colors-border: {{colors.outline_variant.default.hex}} !important;
|
||||||
--toolbar-bgcolor: {{colors.surface.default.hex}} !important;
|
--toolbar-bgcolor: {{colors.surface_container.default.hex}} !important;
|
||||||
--lwt-accent-color: {{colors.surface_container.default.hex}} !important;
|
--lwt-accent-color: {{colors.surface_container.default.hex}} !important;
|
||||||
--lwt-text-color: {{colors.on_surface.default.hex}} !important;
|
--lwt-text-color: {{colors.on_surface.default.hex}} !important;
|
||||||
|
--tab-selected-bgcolor: {{colors.surface_container_high.default.hex}} !important;
|
||||||
|
--arrowpanel-background: {{colors.surface_container.default.hex}} !important;
|
||||||
|
--arrowpanel-color: {{colors.on_surface.default.hex}} !important;
|
||||||
|
--urlbar-box-bgcolor: {{colors.surface_container_low.default.hex}} !important;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue