From d935153c5716652dc42c74a673eab709780160c3 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 15 Jun 2024 00:14:15 +0000 Subject: [PATCH] Update cheatsheets --- tldr/dd | 4 ++-- tldr/linux/hyprctl | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 tldr/linux/hyprctl diff --git a/tldr/dd b/tldr/dd index 16c569c3..8bb53c14 100644 --- a/tldr/dd +++ b/tldr/dd @@ -8,9 +8,9 @@ source: https://github.com/tldr-pages/tldr.git > Convert and copy a file. > More information: . -- 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: diff --git a/tldr/linux/hyprctl b/tldr/linux/hyprctl new file mode 100644 index 00000000..18cd0f89 --- /dev/null +++ b/tldr/linux/hyprctl @@ -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: . + +- 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`