diff options
| -rwxr-xr-x | .config/waybar/scripts/layout.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/waybar/scripts/layout.sh b/.config/waybar/scripts/layout.sh index 997d837..f7c7691 100755 --- a/.config/waybar/scripts/layout.sh +++ b/.config/waybar/scripts/layout.sh @@ -8,7 +8,7 @@ case $1 in mmsg -d switch_layout ;; *) - text=$(mmsg -g | grep " layout" | sort -t: -k2,2nr | awk '{ print $3 }' FS=' ') + text=$(mmsg -g | grep " layout" | sort -t: -k2,2nr -r | awk '{ print $3 }' FS=' ') echo "{\"text\":\""$text"\", \"tooltip\":\""$tooltip"\"}" ;; esac |
