Give the desktop real themes, video wallpapers, and honest titlebars
Appearance now opens on Themes: light and dark side by side, each remembering its own choice, over galleries of ten shipped themes — Tokyo Moon and Day joined by Moon Rose, Catppuccin, Nord, Gruvbox and Everforest in both modes. A theme is a complete palette: the catalog lives in themes.json, Theme.qml reads every color token from the active record, and one render pipeline carries it to kitty, tmux, btop, GTK, Vicinae, Firefox's chrome, and the lock screen. The Theme editor builds new ones from four wells — wheel, hex, or eyedropper — with derived surfaces, a saturation slider, debounced fine-tune, and effects that save with the theme. Custom edits finally keep GNOME's accent, kitty's border, and hyprlock in sync. Wallpapers can be video: mpvpaper per output, hardware-decoded, muted and looped, supervised and respawned. Panama owns the pausing — games, battery, and a bar pill for right now — because the compositor rebuilds full-screen blur for every frame a video wallpaper draws. The lock screen gets a still frame. Titlebars stop lying. GNOME apps get close-only on your chosen side, the maximize and double-click settings are gone, the Settings window obeys the same rules, and its titlebar can be turned off entirely. Typography becomes five labeled dropdowns instead of a wall of samples. Contracts updated and written throughout (165 now); per the redesign workflow none were executed — the full sweep runs once at the end. Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -20,6 +20,10 @@ hyprland-uwsm
|
||||
hyprlock
|
||||
hyprpaper
|
||||
hyprpicker
|
||||
# Video wallpapers. mpvpaper comes from Terra (Fedora does not package it);
|
||||
# mpv is its hard requirement, named here so the dependency stays visible.
|
||||
mpv
|
||||
mpvpaper
|
||||
hyprpolkitagent
|
||||
hyprpwcenter
|
||||
hyprshutdown
|
||||
|
||||
@@ -111,11 +111,12 @@ for pkg in mako dunst SwayNotificationCenter; do
|
||||
fi
|
||||
done
|
||||
|
||||
# Select the launcher theme once vicinae exists.
|
||||
if exists vicinae; then
|
||||
log "Setting vicinae theme"
|
||||
vicinae theme set tokyonight-moon >/dev/null 2>&1 || true
|
||||
fi
|
||||
# The launcher theme is NOT set here any more. vicinae.json selects one theme
|
||||
# per system appearance -- panama-dark and panama-light, both rendered from the
|
||||
# active Panama theme by quickshell/scripts/panama-theme-apps -- and
|
||||
# `vicinae theme set` replaces that pair with a single fixed name. It would pin
|
||||
# the launcher to one palette for good, and it would do it by rewriting
|
||||
# vicinae.json, which is symlinked out of this repository.
|
||||
|
||||
# A machine with a battery gets managed idle timings from the start. The
|
||||
# shipped hypridle.conf deliberately never suspends -- correct for a desktop,
|
||||
|
||||
+12
-12
@@ -123,20 +123,20 @@ elif [ -r "$HYPRLOCK_TEMPLATE" ]; then
|
||||
lock_stored="$(jq -r '.colorScheme // "dark"' "$lock_prefs" 2>/dev/null || echo dark)"
|
||||
[ "$lock_stored" = "light" ] && lock_scheme="light"
|
||||
fi
|
||||
if [ "$lock_scheme" = "light" ]; then
|
||||
sed -e "s/@FG@/55, 96, 191/g" -e "s/@MUTED@/97, 114, 176/g" \
|
||||
-e "s/@ACCENT@/46, 125, 233/g" -e "s/@ERROR@/245, 42, 101/g" \
|
||||
-e "s/@BG@/225, 226, 231/g" -e "s/@FIELD@/208, 213, 227/g" \
|
||||
-e "s/@MUTED_HEX@/6172b0/g" -e "s/@ERROR_HEX@/f52a65/g" \
|
||||
"$HYPRLOCK_TEMPLATE" > "$HYPRLOCK_CONF"
|
||||
# Rendered by panama-palette's render_hyprlock, the same function
|
||||
# panama-theme-apps and panama-lock use. This block used to carry its own
|
||||
# table of literal rgba triples -- a third copy of the same eight colours --
|
||||
# and a new theme meant remembering to edit all three. The one that got
|
||||
# missed was always this one, because a wrong seed only shows up the first
|
||||
# time somebody locks a fresh machine.
|
||||
# shellcheck source=../../config/dot/quickshell/scripts/panama-palette
|
||||
source "$PANAMA_DOT/quickshell/scripts/panama-palette"
|
||||
lock_accent="$(jq -r '.accentName // "blue"' "$lock_prefs" 2>/dev/null || echo blue)"
|
||||
if render_hyprlock "$lock_scheme" "$HYPRLOCK_TEMPLATE" "$HYPRLOCK_CONF" "$lock_accent"; then
|
||||
log "Seeded hyprlock $lock_scheme theme → $HYPRLOCK_CONF"
|
||||
else
|
||||
sed -e "s/@FG@/200, 211, 245/g" -e "s/@MUTED@/130, 139, 184/g" \
|
||||
-e "s/@ACCENT@/130, 170, 255/g" -e "s/@ERROR@/255, 117, 127/g" \
|
||||
-e "s/@BG@/34, 36, 54/g" -e "s/@FIELD@/46, 47, 61/g" \
|
||||
-e "s/@MUTED_HEX@/828bb8/g" -e "s/@ERROR_HEX@/ff757f/g" \
|
||||
"$HYPRLOCK_TEMPLATE" > "$HYPRLOCK_CONF"
|
||||
log "Could not render the hyprlock theme; the first lock will use hyprlock's defaults"
|
||||
fi
|
||||
log "Seeded hyprlock $lock_scheme theme → $HYPRLOCK_CONF"
|
||||
fi
|
||||
|
||||
# btop reads themes from its own config directory, but OWNS btop.conf -- it
|
||||
|
||||
Reference in New Issue
Block a user