Update cheatsheets

This commit is contained in:
ivuorinen
2024-06-15 00:14:15 +00:00
parent d5392a175a
commit d935153c57
2 changed files with 39 additions and 2 deletions

37
tldr/linux/hyprctl Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# hyprctl
> Control parts of the Hyprland Wayland compositor.
> More information: <https://wiki.hyprland.org/Configuring/Using-hyprctl>.
- Reload Hyprland configuration:
`hyprctl reload`
- Return the active window name:
`hyprctl activewindow`
- List all connected input devices:
`hyprctl devices`
- List all outputs with respective properties:
`hyprctl workspaces`
- Call a dispatcher with an argument:
`hyprctl dispatch exec {{app}}`
- Set a configuration keyword dynamically:
`hyprctl keyword {{keyword}} {{value}}`
- Display version:
`hyprctl version`