From 140e0f906a9e8566b26267d84eb0aa1a7e2f0d94 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 18 Oct 2026 11:28:14 +0200 Subject: feat(rofi): wallpaper banner and placeholder on the ssh header The header and search bar share the wallpaper banner the Alt+F2 runner uses, each on a plate so it stays legible over any image, and the entry gets a placeholder. ssh.rasi now carries the @WPAPER@ placeholder, so install.sh generates it like launcher.rasi instead of linking it. Co-Authored-By: Claude Opus 5.5 --- install.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 8ca71db..45deb76 100755 --- a/install.sh +++ b/install.sh @@ -84,16 +84,17 @@ fi # Theme files are symlinked individually; accent.rasi is NOT, it points at the # generated file in the wal cache instead. -for f in palette.rasi common.rasi menu.rasi list.rasi grid.rasi powermenu.rasi confirm.rasi screenshot.rasi ssh.rasi; do +for f in palette.rasi common.rasi menu.rasi list.rasi grid.rasi powermenu.rasi confirm.rasi screenshot.rasi; do ln -sfn "$repo/rofi/udt/$f" "$target/$f" done -# launcher.rasi is generated rather than symlinked: its wallpaper path comes -# from the wal cache and cannot be committed. Regenerating it is why re-running -# this script after moving the repo is safe. -rm -f "$target/launcher.rasi" -sed "s|@WPAPER@|$HOME/.cache/udt/wpaper|" \ - "$repo/rofi/udt/launcher.rasi" > "$target/launcher.rasi" +# launcher.rasi and ssh.rasi are generated rather than symlinked: their +# wallpaper path comes from the wal cache and cannot be committed. Regenerating +# them is why re-running this script after moving the repo is safe. +for f in launcher.rasi ssh.rasi; do + rm -f "$target/$f" + sed "s|@WPAPER@|$HOME/.cache/udt/wpaper|" "$repo/rofi/udt/$f" > "$target/$f" +done # Seed the generated accent if it does not exist yet, so themes parse on a # fresh install before any wallpaper has been set. -- cgit v1.2.3