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

View File

@@ -8,9 +8,9 @@ source: https://github.com/tldr-pages/tldr.git
> Convert and copy a file.
> More information: <https://manned.org/dd.1p>.
- Make a bootable USB drive from an isohybrid file (such as `archlinux-xxx.iso`):
- Make a bootable USB drive from an isohybrid file (such as `archlinux-xxx.iso`) and show the progress:
`dd if={{path/to/file.iso}} of={{/dev/usb_drive}}`
`dd if={{path/to/file.iso}} of={{/dev/usb_drive}} status=progress`
- Clone a drive to another drive with 4 MiB block size and flush writes before the command terminates:

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`