diff options
| author | Don Williams <Don.e.williams@gmail.com> | 2025-10-20 14:23:03 -0400 |
|---|---|---|
| committer | Don Williams <Don.e.williams@gmail.com> | 2025-10-20 14:23:03 -0400 |
| commit | 1195ecd49921dc4e243454450440de24f5ab4d76 (patch) | |
| tree | 9d16395733a02e25b47419e5875494bb856a5449 /config/hypr/UserScripts/WallpaperRandom.sh | |
| parent | c862835221decf03b6640bb43e4044861cceaa04 (diff) | |
Waybar: fix rofi selection marker stripping; prevent embedding 👉 in symlink names
Problem: reselecting the current style/layout left the '👉 ' prefix in the choice, so the symlink target included it (e.g., style.css -> .../👉 [0 VERTICAL] [Catpuccin] Mocha.css).
Cause: options are annotated as "👉 ${name}", but the code used: choice=${choice# $MARKER} (matches ' 👉'), not the actual prefix '👉 '.
Fix: use choice=${choice#"$MARKER "} in WaybarStyles.sh and WaybarLayout.sh.
Result: selecting the same item no longer pollutes the symlink target.
Diffstat (limited to 'config/hypr/UserScripts/WallpaperRandom.sh')
0 files changed, 0 insertions, 0 deletions
