From 93aa907852df96e2088d1b912aa900ae76619831 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 7 Oct 2026 19:10:54 +0200 Subject: chore: waybar is gone, stop theming and reloading it The quickshell island replaced both waybar bars and reads the palette itself, so install.sh no longer runs waybar-theme-udt's installer or signals a bar that is not running. Co-Authored-By: Claude Opus 5.5 --- install.sh | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 7a78f80..7ac2c91 100755 --- a/install.sh +++ b/install.sh @@ -134,32 +134,6 @@ done # with settings that are none of this repo's business. scheme="$(sed -n 's/^scheme *= *//p' "$selector")" -# waybar. The bar is waybar-theme-udt, a sibling checkout with its own -# install.sh, and that script is called here rather than having this one copy -# the stylesheet into place. -# -# The reason is that the palette reaches the bar as THREE generated files, not -# one: styles/theme.css, dots.colors for the two dot scripts, which are bash -# and cannot read @define-color, and two tints of the Slackware mark, which -# has to contrast with the accent pill at rest and the dark pill on hover. -# Copying only the stylesheet left the dots and the mark on the previous -# scheme's colours after a switch, and a second writer for those files here -# would drift from the one over there. -# -# Called with the palette already generated, and never fatal: a failure in the -# bar's install must not stop kitty, Kvantum or Sublime from being themed. The -# same reasoning as udt-appthemes below. -# -# The stock ~/.config/waybar/ is deliberately left alone. Nothing launches it -# any more, and its stylesheets still reference the per-module role names this -# generator no longer emits, so writing a new theme in there would leave it -# referencing colours that do not exist rather than simply sitting unused. -waybar_repo="$repo/../waybar-theme-udt" -if [ -x "$waybar_repo/install.sh" ]; then - UDT_PALETTE_DONE=1 "$waybar_repo/install.sh" >/dev/null || \ - echo "waybar: its install.sh failed, bar left on the old colours" >&2 -fi - # Written through, not replaced: current-theme.conf is a symlink into the # kitty-conf repo, and install -D would unlink it and leave a plain file behind. mkdir -p "$HOME/.config/kitty" @@ -307,12 +281,11 @@ if [ -d "$hypr_repo" ]; then fi fi -# Reload what is running. Writing the configs is not enough: waybar, kitty and +# Reload what is running. Writing the configs is not enough: kitty and # Hyprland reread on a signal, conky only on a restart, and rofi # reads its theme per launch so it needs nothing. Each is guarded, because none # of them is necessarily running, and a missing one is not an error. reloaded="" -pgrep -x waybar >/dev/null 2>&1 && killall -SIGUSR2 waybar 2>/dev/null && reloaded="$reloaded waybar" pgrep -x kitty >/dev/null 2>&1 && pkill -USR1 -x kitty 2>/dev/null && reloaded="$reloaded kitty" command -v hyprctl >/dev/null 2>&1 && hyprctl reload >/dev/null 2>&1 && reloaded="$reloaded hyprland" -- cgit v1.2.3