hyprctl: fix zsh completion (#6467)

Co-authored-by: random2907 <yarnjeetyadav1234567890@gmail.com>
This commit is contained in:
random2907 2024-06-19 11:50:49 +05:30 committed by GitHub
parent e0e3c4c6ae
commit 6e5804b53d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,5 @@
#compdef hyprctl
_hyprctl_cmd_2 () {
hyprctl monitors | grep Monitor | awk '{ print $2 }'
}