From 043470907fa0fcf25d9f496b0759c7812437b380 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sun, 2 Jun 2024 00:15:34 +0000 Subject: [PATCH] Update cheatsheets --- tldr/toipe | 26 ++++++++++++++++++++++++++ tldr/waybar | 25 +++++++++++++++++++++++++ tldr/zint | 21 +++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 tldr/toipe create mode 100644 tldr/waybar create mode 100644 tldr/zint diff --git a/tldr/toipe b/tldr/toipe new file mode 100644 index 00000000..07f2f634 --- /dev/null +++ b/tldr/toipe @@ -0,0 +1,26 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# toipe + +> Yet another typing test, but crab flavoured. +> A trusty terminal typing tester. +> More information: . + +- Start the typing test with the default wordlist: + +`toipe` + +- Use a specific wordlist: + +`toipe {{-w|--wordlist}} {{wordlist_name}}` + +- Use a custom wordlist: + +`toipe {{-f|--file}} {{path/to/file}}` + +- Specify the number of words on each test: + +`toipe {{-n|--num}} {{number_of_words}}` diff --git a/tldr/waybar b/tldr/waybar new file mode 100644 index 00000000..fee9246c --- /dev/null +++ b/tldr/waybar @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# waybar + +> Highly customizable Wayland bar for Sway and Wlroots based compositors. +> More information: . + +- Start `waybar` with the default configuration and stylesheet: + +`waybar` + +- Use a different configuration file: + +`waybar {{-c|--config}} {{path/to/config.jsonc}}` + +- Use a different stylesheet file: + +`waybar {{-s|--style}} {{path/to/stylesheet.css}}` + +- Set the logging level: + +`waybar {{-l|--log-level}} {{trace|debug|info|warning|error|critical|off}}` diff --git a/tldr/zint b/tldr/zint new file mode 100644 index 00000000..12dfd652 --- /dev/null +++ b/tldr/zint @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# zint + +> Generate barcodes and QR codes. +> More information: . + +- Generate a barcode and save it: + +`zint --data "{{UTF-8 data}}" --output {{path/to/file}}` + +- Specify a code type for generation: + +`zint --barcode {{code_type}} --data "{{UTF-8 data}}" --output {{path/to/file}}` + +- List all supported code types: + +`zint --types`