Auto-reload Shell theme after matugen, style calendar panel and Zen URL bar
Add GNOME Shell theme reload (dconf toggle) to recolor-folders.sh post-hook so colors apply immediately after update or wallpaper change. Style calendar panel, date menu, pager buttons, and today highlight. Fix Zen URL bar background mismatch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dee11c713e
commit
24994ab912
4 changed files with 58 additions and 4 deletions
|
|
@ -142,7 +142,7 @@
|
|||
gsettings set org.gnome.desktop.background picture-uri "file://$img"
|
||||
gsettings set org.gnome.desktop.background picture-uri-dark "file://$img"
|
||||
matugen image "$img" --source-color-index 0 -m dark
|
||||
echo "Wallpaper and colors updated!"
|
||||
echo "Wallpaper and colors updated! Shell theme reloaded."
|
||||
end
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,6 +136,50 @@ stage {
|
|||
color: {{colors.on_surface.default.hex}} !important;
|
||||
}
|
||||
|
||||
/* Calendar / date menu panel */
|
||||
.calendar, .datemenu-today-button, .events-button,
|
||||
.world-clocks-button, .weather-button, .message {
|
||||
background-color: {{colors.surface_container_high.default.hex}} !important;
|
||||
color: {{colors.on_surface.default.hex}} !important;
|
||||
}
|
||||
|
||||
.calendar .calendar-month-header .pager-button {
|
||||
background-color: transparent !important;
|
||||
color: {{colors.on_surface.default.hex}} !important;
|
||||
}
|
||||
|
||||
.calendar .calendar-month-header .pager-button:hover {
|
||||
background-color: {{colors.surface_container_highest.default.hex}} !important;
|
||||
}
|
||||
|
||||
.calendar .calendar-month-header .calendar-month-label {
|
||||
background-color: transparent !important;
|
||||
color: {{colors.on_surface.default.hex}} !important;
|
||||
}
|
||||
|
||||
.calendar .calendar-day-heading, .calendar .calendar-day {
|
||||
background-color: transparent !important;
|
||||
color: {{colors.on_surface.default.hex}} !important;
|
||||
}
|
||||
|
||||
.calendar .calendar-day:hover {
|
||||
background-color: {{colors.surface_container_highest.default.hex}} !important;
|
||||
}
|
||||
|
||||
.calendar .calendar-day.calendar-today {
|
||||
background-color: {{colors.primary_container.default.hex}} !important;
|
||||
color: {{colors.on_primary_container.default.hex}} !important;
|
||||
}
|
||||
|
||||
/* Notification / message list */
|
||||
.message-list-placeholder {
|
||||
color: {{colors.on_surface_variant.default.hex}} !important;
|
||||
}
|
||||
|
||||
.message-list-controls {
|
||||
color: {{colors.on_surface.default.hex}} !important;
|
||||
}
|
||||
|
||||
/* Round icon buttons in quick settings header (settings gear, lock, power etc) */
|
||||
.quick-settings .icon-button {
|
||||
background-color: {{colors.surface_container_high.default.hex}} !important;
|
||||
|
|
|
|||
|
|
@ -136,3 +136,8 @@ if [ -f "$VSCODE_SETTINGS" ] && [ -f "$VSCODE_COLORS" ]; then
|
|||
jq --argjson colors "$COLORS" '. * $colors' "$VSCODE_SETTINGS" > "$TMP" && mv "$TMP" "$VSCODE_SETTINGS"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Reload GNOME Shell theme to apply new colors
|
||||
dconf write /org/gnome/shell/extensions/user-theme/name "''"
|
||||
sleep 1
|
||||
dconf write /org/gnome/shell/extensions/user-theme/name "'WallpaperShell'"
|
||||
|
|
|
|||
|
|
@ -26,8 +26,13 @@
|
|||
background-color: {{colors.surface_container_high.default.hex}} !important;
|
||||
}
|
||||
|
||||
/* URL bar */
|
||||
/* URL bar — override Zen's color-mix background */
|
||||
#urlbar .urlbar-background,
|
||||
#urlbar-background {
|
||||
background-color: {{colors.surface_container.default.hex}} !important;
|
||||
}
|
||||
|
||||
#urlbar[focused="true"] .urlbar-background {
|
||||
background-color: {{colors.surface_container_high.default.hex}} !important;
|
||||
}
|
||||
|
||||
|
|
@ -35,9 +40,9 @@
|
|||
color: {{colors.on_surface.default.hex}} !important;
|
||||
}
|
||||
|
||||
/* Nav bar and toolbar */
|
||||
/* Nav bar and toolbar — match the toolbar background */
|
||||
#nav-bar {
|
||||
background-color: {{colors.surface_container.default.hex}} !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Sidebar text and icons */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue