From 90e3eded1c781c160dcc1dfc4a32b3cf68157d22 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 11 Sep 2026 09:35:53 +0200 Subject: feat: anchor the launcher top-center and add a wallpaper banner Matches the launcher position already in use (north-anchored, 600px, single column) rather than the centered grid, and restores the wallpaper banner behind the input area from the old darknix theme. The wallpaper path cannot be committed: rofi does not expand a tilde inside a url(), and an absolute path would bake in a home directory. So launcher.rasi carries a placeholder and the installer generates the real file. The entry sits on a solid plate so it stays legible over a bright wallpaper. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq --- install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 02d5ab9..9821371 100755 --- a/install.sh +++ b/install.sh @@ -11,10 +11,17 @@ mkdir -p "$target" "$HOME/bin" "$HOME/.cache/wal" # 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 launcher.rasi menu.rasi list.rasi; do +for f in palette.rasi common.rasi menu.rasi list.rasi; do ln -sfn "$repo/rofi/udt/$f" "$target/$f" done +# launcher.rasi is generated rather than symlinked: it references the wallpaper +# by absolute path, which cannot live in a committed file. Regenerating it is +# why re-running this script after moving the repo is safe. +rm -f "$target/launcher.rasi" +sed "s|@WPAPER@|$HOME/.cache/wal/wpaper|" \ + "$repo/rofi/udt/launcher.rasi" > "$target/launcher.rasi" + # Seed the generated accent if it does not exist yet, so themes parse on a # fresh install before any wallpaper has been set. if [ ! -f "$HOME/.cache/wal/udt-accent.rasi" ]; then -- cgit v1.2.3