summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-13 23:59:27 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-13 23:59:27 +0100
commitd62026673b0b833f27b85f8a551cb646ae2bd751 (patch)
tree1e78546cef8eed04490eebed48e2b7cbb550b4fb
parent10c3013239a96a4279b492d28d7c8679b7450c29 (diff)
eww: Use ‘-n’ instead of ‘-V’ for ‘sort’
-rwxr-xr-x.config/eww/scripts/workspace-list-listener2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/eww/scripts/workspace-list-listener b/.config/eww/scripts/workspace-list-listener
index 72a6543..9ad35ca 100755
--- a/.config/eww/scripts/workspace-list-listener
+++ b/.config/eww/scripts/workspace-list-listener
@@ -11,7 +11,7 @@ socat -u UNIX-CONNECT:"$IPC" - \
do
case "$e" in
c*)
- ws="`printf '%s\n%s\n' "$ws" $n | sort -V`"
+ ws="`printf '%s\n%s\n' "$ws" $n | sort -n`"
;;
d*)
ws="`echo "$ws" | grep -v "^$n$"`"