summaryrefslogtreecommitdiff
path: root/hyprctl/hyprctl.bash
diff options
context:
space:
mode:
Diffstat (limited to 'hyprctl/hyprctl.bash')
-rw-r--r--hyprctl/hyprctl.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/hyprctl/hyprctl.bash b/hyprctl/hyprctl.bash
index 8386cfbc..c69cca21 100644
--- a/hyprctl/hyprctl.bash
+++ b/hyprctl/hyprctl.bash
@@ -1,13 +1,13 @@
_hyprctl_cmd_2 () {
- hyprctl monitors | grep Monitor | awk '{ print $2 }'
+ hyprctl monitors | awk '/Monitor/{ print $2 }'
}
_hyprctl_cmd_3 () {
- hyprpm list | grep "Plugin" | awk '{print $4}'
+ hyprpm list | awk '/Plugin/{ print $4 }'
}
_hyprctl_cmd_0 () {
- hyprctl clients | grep class | awk '{print $2}'
+ hyprctl clients | awk '/class/{ print $2 }'
}
_hyprctl_cmd_1 () {