aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WaybarLayout.sh
diff options
context:
space:
mode:
authorjteijema <jelle@teije.ma>2025-07-25 13:12:24 +0200
committerjteijema <jelle@teije.ma>2025-07-25 13:13:25 +0200
commit7ed2aa6c81627626339c48a37be2249ce4ff54bf (patch)
tree481494f523494f0b703f73821302cd1e5e60837e /config/hypr/scripts/WaybarLayout.sh
parent637025eeb60391e5cc17c883aa6ee95799acac76 (diff)
fix: resolve emoji removal
Diffstat (limited to 'config/hypr/scripts/WaybarLayout.sh')
-rwxr-xr-xconfig/hypr/scripts/WaybarLayout.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/hypr/scripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh
index 955432fc..b4d9c493 100755
--- a/config/hypr/scripts/WaybarLayout.sh
+++ b/config/hypr/scripts/WaybarLayout.sh
@@ -29,9 +29,10 @@ main() {
# Mark and locate the active layout
default_row=0
+ MARKER="👉"
for i in "${!options[@]}"; do
if [[ "${options[i]}" == "$current_name" ]]; then
- options[i]="👉 ${options[i]}"
+ options[i]="$MARKER ${options[i]}"
default_row=$i
break
fi
@@ -49,7 +50,7 @@ main() {
[[ -z "$choice" ]] && { echo "No option selected. Exiting."; exit 0; }
# Strip marker before applying
- choice=${choice% ⮕}
+ choice=${choice# $MARKER}
case "$choice" in
"no panel")
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage