aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl
diff options
context:
space:
mode:
authorLincoln Yuji de Oliveira <[email protected]>2024-07-04 08:21:07 -0300
committerGitHub <[email protected]>2024-07-04 14:21:07 +0300
commit0a6e83005f1910b5c1ec78476fcffc05af47833a (patch)
tree6bc6a6877e121ef4ab05f63f08c49a4bfa3a90b8 /hyprctl
parente894d5e964994e988ef75de4d95e98c9503235e1 (diff)
downloadHyprland-0a6e83005f1910b5c1ec78476fcffc05af47833a.tar.gz
Hyprland-0a6e83005f1910b5c1ec78476fcffc05af47833a.zip
Completions: use only awk (#6763)
Diffstat (limited to 'hyprctl')
-rw-r--r--hyprctl/hyprctl.usage6
1 files changed, 3 insertions, 3 deletions
diff --git a/hyprctl/hyprctl.usage b/hyprctl/hyprctl.usage
index 64cbbb80..298d253e 100644
--- a/hyprctl/hyprctl.usage
+++ b/hyprctl/hyprctl.usage
@@ -11,11 +11,11 @@ hyprctl [<OPTIONS>]... <ARGUMENTS>
| (-q | --quiet) "Disable output"
;
-<WINDOWS> ::= {{{ hyprctl clients | grep class | awk '{print $2}' }}};
+<WINDOWS> ::= {{{ hyprctl clients | awk '/class/{print $2}' }}};
-<AVAILABLE_PLUGINS> ::= {{{ hyprpm list | grep "Plugin" | awk '{print $4}' }}};
+<AVAILABLE_PLUGINS> ::= {{{ hyprpm list | awk '/Plugin/{print $4}' }}};
-<MONITORS> ::= {{{ hyprctl monitors | grep Monitor | awk '{ print $2 }' }}};
+<MONITORS> ::= {{{ hyprctl monitors | awk '/Monitor/{ print $2 }' }}};
<KEYBOARDS> ::= {{{ hyprctl devices | sed -n '/Keyboard at/{n; s/^\s\+//; p}' }}};