aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WaybarStyles.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-07-25 21:31:54 +0900
committerGitHub <noreply@github.com>2025-07-25 21:31:54 +0900
commitdd889d3aac40075ee73f76290c69ccc698673817 (patch)
tree67dc1026bc09a93cb5250e1c28adda15c592aff4 /config/hypr/scripts/WaybarStyles.sh
parent637025eeb60391e5cc17c883aa6ee95799acac76 (diff)
parentaa3c94f1ad44038d6a71ee8e12a704e6089e31f6 (diff)
Merge pull request #775 from JaKooLit/development
Development to main
Diffstat (limited to 'config/hypr/scripts/WaybarStyles.sh')
-rwxr-xr-xconfig/hypr/scripts/WaybarStyles.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/hypr/scripts/WaybarStyles.sh b/config/hypr/scripts/WaybarStyles.sh
index 20f0873b..a439f8eb 100755
--- a/config/hypr/scripts/WaybarStyles.sh
+++ b/config/hypr/scripts/WaybarStyles.sh
@@ -31,9 +31,10 @@ main() {
# mark the active style and record its index
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
@@ -50,7 +51,7 @@ main() {
[[ -z "$choice" ]] && { echo "No option selected. Exiting."; exit 0; }
# remove annotation and apply
- choice=${choice% ⮕}
+ choice=${choice# $MARKER}
apply_style "$choice"
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage