aboutsummaryrefslogtreecommitdiff
path: root/completions/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'completions/zsh')
-rw-r--r--completions/zsh/_swaybar2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/zsh/_swaybar b/completions/zsh/_swaybar
index 4fdfdd8a..af2cee95 100644
--- a/completions/zsh/_swaybar
+++ b/completions/zsh/_swaybar
@@ -3,7 +3,7 @@
# Completion script for swaybar
#
-local bars=($(swaymsg -t get_bar_config | sed -e '/^\[/,/\]$/{//d;s/^ *"\(.*\)",\?.*$/\1/}'))
+local bars=($(swaymsg -t get_bar_config | jq -r '.[]'))
_arguments -s \
'(-h --help)'{-h,--help}'[Show help message and quit]' \