aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl/hyprctl.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'hyprctl/hyprctl.zsh')
-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 }'
}