From fcad04ef4e4048d04880e00ae4d6cffcbc8ca0bd Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Tue, 19 Nov 2024 00:18:19 +0000 Subject: [PATCH] Update cheatsheets --- tldr/linux/eww | 33 +++++++++++++++++++++++++++++++++ tldr/sha256sum | 4 ++++ 2 files changed, 37 insertions(+) create mode 100644 tldr/linux/eww diff --git a/tldr/linux/eww b/tldr/linux/eww new file mode 100644 index 00000000..f9f29db7 --- /dev/null +++ b/tldr/linux/eww @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# eww + +> Implement your own custom widgets in any window manager. +> More information: . + +- Start the daemon: + +`eww daemon` + +- Open a widget: + +`eww -c {{path/to/source_code_directory}} open {{window_name}}` + +- Close a widget: + +`eww -c {{path/to/source_code_directory}} close {{window_name}}` + +- Reload the configuration: + +`eww reload` + +- Kill the daemon: + +`eww kill` + +- Print and watch logs: + +`eww logs` diff --git a/tldr/sha256sum b/tldr/sha256sum index 855f91a1..780059e6 100644 --- a/tldr/sha256sum +++ b/tldr/sha256sum @@ -31,3 +31,7 @@ source: https://github.com/tldr-pages/tldr.git - Only show a message when verification fails, ignoring missing files: `sha256sum --ignore-missing --check --quiet {{path/to/file.sha256}}` + +- Check known SHA256 sum of a file: + +`echo {{known-sha256-sum-of-the-file}} {{path/to/file}} | sha256sum --check`