hyprctl: fix grammar mistakes in completions
This commit is contained in:
parent
1b43cd5231
commit
81766647f2
4 changed files with 361 additions and 367 deletions
|
|
@ -4,25 +4,25 @@
|
|||
|
||||
hyprctl [<OPTIONS>]... <ARGUMENTS>
|
||||
|
||||
<OPTIONS> ::= (-i | --instance) "Specify the Hyprland instalnce"
|
||||
<OPTIONS> ::= (-i | --instance) "Specify the Hyprland instance"
|
||||
| (-j) "Output in JSON format"
|
||||
| (-r) "Refresh state befor issuing the command"
|
||||
| (-b) "Execute a batch of commands separated by ;"
|
||||
;
|
||||
| (-r) "Refresh state after issuing the command"
|
||||
| (--batch) "Execute a batch of commands separated by ;"
|
||||
;
|
||||
|
||||
<WINDOWS> ::= {{{ hyprctl clients | grep class | awk '{print $2}' }}}
|
||||
|
||||
<AVIABLE_PLUGINS> ::= {{{ hyprpm list | grep "Plugin" | awk '{print $4}' }}}
|
||||
<AVAILABLE_PLUGINS> ::= {{{ hyprpm list | grep "Plugin" | awk '{print $4}' }}}
|
||||
|
||||
<MONITORS> ::= {{{ hyprctl monitors | grep Monitor | awk '{ print $2 }' }}}
|
||||
|
||||
<KEYWORDS> ::= {{{ hyprctl devices | sed -n '/Keyboard at/{n; s/^\s\+//; p}' }}}
|
||||
<KEYBOARDS> ::= {{{ hyprctl devices | sed -n '/Keyboard at/{n; s/^\s\+//; p}' }}}
|
||||
|
||||
<NOTIFICATION_TYPES> ::= (0) "WARNING"
|
||||
| (1) "INFOROR"
|
||||
| (1) "INFO"
|
||||
| (2) "HINT"
|
||||
| (3) "ERROR"
|
||||
| (4) "CONFISED"
|
||||
| (4) "CONFUSED"
|
||||
| (5) "OK"
|
||||
| (-1) "No Icon"
|
||||
;
|
||||
|
|
@ -54,93 +54,93 @@ hyprctl [<OPTIONS>]... <ARGUMENTS>
|
|||
;
|
||||
|
||||
|
||||
<ARGUMENTS> ::= (activewindow) "Gets the active window name and its properties"
|
||||
| (activeworkspace) "Gets the active workspace name and its properties"
|
||||
| (binds) "Lists all registered binds"
|
||||
| (clients) "Lists all windows with their properties"
|
||||
| (configerrors) "Lists all current config parsing errors"
|
||||
| (cursorpos) "Gets the current cursor pos in global layout coordinates"
|
||||
| (decorations <WINDOWS>) "Lists all decorations and their info"
|
||||
| (devices) "Lists all connected keyboards and mice"
|
||||
| (dismissnotify <NUM>) "Dismisses all or up to amount of notifications"
|
||||
<ARGUMENTS> ::= (activewindow) "Get the active window name and its properties"
|
||||
| (activeworkspace) "Get the active workspace name and its properties"
|
||||
| (binds) "List all registered binds"
|
||||
| (clients) "List all windows with their properties"
|
||||
| (configerrors) "List all current config parsing errors"
|
||||
| (cursorpos) "Get the current cursor pos in global layout coordinates"
|
||||
| (decorations <WINDOWS>) "List all decorations and their info"
|
||||
| (devices) "List all connected keyboards and mice"
|
||||
| (dismissnotify <NUM>) "Dismiss all or up to amount of notifications"
|
||||
| (dispatch <DISPATCHERS>) "Issue a dispatch to call a keybind dispatcher with an arg"
|
||||
| (getoption) "Gets the config option status (values)"
|
||||
| (getoption) "Get the config option status (values)"
|
||||
| (globalshortcuts) ""
|
||||
| (hyprpaper) "Interact with hyprpaper if present"
|
||||
| (instances) "Lists all running instances of Hyprland with thir info"
|
||||
| (instances) "List all running Hyprland instances and their info"
|
||||
| (keyword <KEYWORDS>) "Issue a keyword to call a config keyword dynamically"
|
||||
| (kill) "Get into a kill mode, where you can kill an app by clicking on it"
|
||||
| (layers) "List the layers"
|
||||
| (layouts) "lists all layouts available (including plugin'd ones)"
|
||||
| (monitors [all]) "lists active outputs with their properties"
|
||||
| (notify <NOTIFICATION_TYPES> <NUM>) "Sends a notification using the built-in Hyprland notification system"
|
||||
| (output (create (wayland | x11 | headless | auto) | remove <MONITORS>)) "Allows you to add and remove fake outputs to your preferred backend"
|
||||
| (layouts) "List all layouts available (including plugin ones)"
|
||||
| (monitors [all]) "List active outputs with their properties"
|
||||
| (notify <NOTIFICATION_TYPES> <NUM>) "Send a notification using the built-in Hyprland notification system"
|
||||
| (output (create (wayland | x11 | headless | auto) | remove <MONITORS>)) "Allows adding/removing fake outputs to a specific backend"
|
||||
| (plugin <AVIABLE_PLUGINS>) "Interact with a plugin"
|
||||
| (reload) "Force reloads the config"
|
||||
| (rollinglog) "Prints tail of the log"
|
||||
| (setcursor) "Sets the cursor theme and reloads the cursor manager"
|
||||
| (seterror [disable]) "Sets the hyprctl error string"
|
||||
| (setprop <PROPS>) "Sets a property of a window"
|
||||
| (splash) "Prints the current random splash"
|
||||
| (switchxkblayout <KEYBOARDS> (next | prev | <NUM>)) "Sets the xkb layout index for a keyboard"
|
||||
| (systeminfo) "Prints system info"
|
||||
| (version) "Prints the Hyprland version, meaning flags, commit and branch of build"
|
||||
| (workspacerules) "Gets the list of defined workspace rules"
|
||||
| (workspaces) "Lists all workspaces with their properties"
|
||||
| (reload) "Force reload the config"
|
||||
| (rollinglog) "Print tail of the log"
|
||||
| (setcursor) "Set the cursor theme and reloads the cursor manager"
|
||||
| (seterror [disable]) "Set the hyprctl error string"
|
||||
| (setprop <PROPS>) "Set a property of a window"
|
||||
| (splash) "Print the current random splash"
|
||||
| (switchxkblayout <KEYBOARDS> (next | prev | <NUM>)) "Set the xkb layout index for a keyboard"
|
||||
| (systeminfo) "Print system info"
|
||||
| (version) "Print the Hyprland version: flags, commit and branch of build"
|
||||
| (workspacerules) "Get the list of defined workspace rules"
|
||||
| (workspaces) "List all workspaces with their properties"
|
||||
;
|
||||
|
||||
<DISPATCHERS> ::= (exec) "executes a shell command"
|
||||
| (execr) "executes a raw shell command"
|
||||
| (pass) "passes the key to a specified window"
|
||||
| (killactive) "closes the active window"
|
||||
| (closewindow) "closes a specified window"
|
||||
| (workspace) "changes the workspace"
|
||||
| (movetoworkspace) "moves the focused window to a workspace"
|
||||
| (movetoworkspacesilent) "move window doesnt switch to the workspace"
|
||||
| (togglefloating) "toggles the current window’s floating state"
|
||||
| (setfloating) "sets the current window’s floating state to true"
|
||||
| (settiled) "sets the current window’s floating state to false"
|
||||
| (fullscreen) "toggles the focused window’s fullscreen state"
|
||||
| (fakefullscreen) "toggles the focused window’s internal fullscreen state"
|
||||
| (dpms) "sets all monitors’ DPMS status"
|
||||
| (pin) "pins a window"
|
||||
| (movefocus) "moves the focus in a direction"
|
||||
| (movewindow) "moves the active window in a direction or to a monitor"
|
||||
| (swapwindow) "swaps the active window with another window"
|
||||
| (centerwindow) "center the active window"
|
||||
| (resizeactive) "resizes the active window"
|
||||
| (moveactive) "moves the active window resizeparams"
|
||||
| (resizewindowpixel) "resizes a selected window"
|
||||
| (movewindowpixel) "moves a selected window resizeparams"
|
||||
| (cyclenext) "focuses the next window on a workspace"
|
||||
| (swapnext) "swaps the focused window with the next window"
|
||||
| (focuswindow) "focuses the first window matching"
|
||||
| (focusmonitor) "focuses a monitor"
|
||||
| (splitratio) "changes the split ratio"
|
||||
| (toggleopaque) "toggles the current window to always be opaque"
|
||||
| (movecursortocorner) "moves the cursor to the corner of the active window"
|
||||
| (movecursor) "moves the cursor to a specified position"
|
||||
| (renameworkspace) "rename a workspace"
|
||||
| (exit) "exits the compositor with no questions asked"
|
||||
| (forcerendererreload) "forces the renderer to reload all resources and outputs"
|
||||
| (movecurrentworkspacetomonitor) "Moves the active workspace to a monitor"
|
||||
| (focusworkspaceoncurrentmonitor) "Focuses the requested workspace"
|
||||
| (moveworkspacetomonitor) "Moves a workspace to a monitor"
|
||||
| (swapactiveworkspaces) "Swaps the active workspaces between two monitors"
|
||||
<DISPATCHERS> ::= (exec) "Execute a shell command"
|
||||
| (execr) "Execute a raw shell command"
|
||||
| (pass) "Pass the key to a specified window"
|
||||
| (killactive) "Close the active window"
|
||||
| (closewindow) "Close a specified window"
|
||||
| (workspace) "Change the workspace"
|
||||
| (movetoworkspace) "Move the focused window to a workspace"
|
||||
| (movetoworkspacesilent) "Move window doesnt switch to the workspace"
|
||||
| (togglefloating) "Toggle the current window's floating state"
|
||||
| (setfloating) "Set the current window's floating state to true"
|
||||
| (settiled) "Set the current window's floating state to false"
|
||||
| (fullscreen) "Toggle the focused window's fullscreen state"
|
||||
| (fakefullscreen) "Toggle the focused window's internal fullscreen state"
|
||||
| (dpms) "Set all monitors' DPMS status"
|
||||
| (pin) "Pin a window"
|
||||
| (movefocus) "Move the focus in a direction"
|
||||
| (movewindow) "Move the active window in a direction or to a monitor"
|
||||
| (swapwindow) "Swap the active window with another window"
|
||||
| (centerwindow) "Center the active window"
|
||||
| (resizeactive) "Resize the active window"
|
||||
| (moveactive) "Move the active window"
|
||||
| (resizewindowpixel) "Resize a selected window"
|
||||
| (movewindowpixel) "Move a selected window"
|
||||
| (cyclenext) "Focus the next window on a workspace"
|
||||
| (swapnext) "Swap the focused window with the next window"
|
||||
| (focuswindow) "Focus the first window matching"
|
||||
| (focusmonitor) "Focus a monitor"
|
||||
| (splitratio) "Change the split ratio"
|
||||
| (toggleopaque) "Toggle the current window to always be opaque"
|
||||
| (movecursortocorner) "Move the cursor to the corner of the active window"
|
||||
| (movecursor) "Move the cursor to a specified position"
|
||||
| (renameworkspace) "Rename a workspace"
|
||||
| (exit) "Exit the compositor with no questions asked"
|
||||
| (forcerendererreload) "Force the renderer to reload all resources and outputs"
|
||||
| (movecurrentworkspacetomonitor) "Move the active workspace to a monitor"
|
||||
| (focusworkspaceoncurrentmonitor) "Focus the requested workspace"
|
||||
| (moveworkspacetomonitor) "Move a workspace to a monitor"
|
||||
| (swapactiveworkspaces) "Swap the active workspaces between two monitors"
|
||||
| (alterzorder) "Modify the window stack order of the active or specified window"
|
||||
| (togglespecialworkspace) "toggles a special workspace on/off"
|
||||
| (focusurgentorlast) "Focuses the urgent window or the last window"
|
||||
| (togglegroup) "toggles the current active window into a group"
|
||||
| (changegroupactive) "switches to the next window in a group"
|
||||
| (togglespecialworkspace) "Toggle a special workspace on/off"
|
||||
| (focusurgentorlast) "Focus the urgent window or the last window"
|
||||
| (togglegroup) "Toggle the current active window into a group"
|
||||
| (changegroupactive) "Switch to the next window in a group"
|
||||
| (focuscurrentorlast) "Switch focus from current to previously focused window"
|
||||
| (lockgroups) "Locks the groups"
|
||||
| (lockgroups) "Lock the groups"
|
||||
| (lockactivegroup) "Lock the focused group"
|
||||
| (moveintogroup) "Moves the active window into a group"
|
||||
| (moveoutofgroup) "Moves the active window out of a group"
|
||||
| (movewindoworgroup) "Behaves as moveintogroup"
|
||||
| (movegroupwindow) "Swaps the active window with the next or previous in a group"
|
||||
| (moveintogroup) "Move the active window into a group"
|
||||
| (moveoutofgroup) "Move the active window out of a group"
|
||||
| (movewindoworgroup) "Behave as moveintogroup"
|
||||
| (movegroupwindow) "Swap the active window with the next or previous in a group"
|
||||
| (denywindowfromgroup) "Prohibit the active window from becoming or being inserted into group"
|
||||
| (setignoregrouplock) "Temporarily enable or disable binds:ignore_group_lock"
|
||||
| (global) "Executes a Global Shortcut using the GlobalShortcuts portal"
|
||||
| (global) "Execute a Global Shortcut using the GlobalShortcuts portal"
|
||||
| (submap) "Change the current mapping group"
|
||||
;
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue