summaryrefslogtreecommitdiff
path: root/hyprctl
diff options
context:
space:
mode:
authorrandom2907 <81547183+random2907@users.noreply.github.com>2024-06-19 11:50:49 +0530
committerGitHub <noreply@github.com>2024-06-19 09:20:49 +0300
commit6e5804b53de753f24953d9d647940df66bc68f6d (patch)
tree1a4d69d8a36419a764dc78e29a9d75f332dcb12f /hyprctl
parente0e3c4c6ae15af88ac5fd5ab959adfe45a2e1dca (diff)
hyprctl: fix zsh completion (#6467)
Co-authored-by: random2907 <yarnjeetyadav1234567890@gmail.com>
Diffstat (limited to 'hyprctl')
-rw-r--r--hyprctl/hyprctl.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/hyprctl/hyprctl.zsh b/hyprctl/hyprctl.zsh
index 6babd835..1a4cc187 100644
--- a/hyprctl/hyprctl.zsh
+++ b/hyprctl/hyprctl.zsh
@@ -1,3 +1,5 @@
+#compdef hyprctl
+
_hyprctl_cmd_2 () {
hyprctl monitors | grep Monitor | awk '{ print $2 }'
}