From 0fe60568a98c07c44f704448b7758bc68307660f Mon Sep 17 00:00:00 2001 From: Laaarge <92157305+Laaarge@users.noreply.github.com> Date: Fri, 20 Dec 2024 23:34:45 +0100 Subject: [PATCH] bclm, autoraise: add page; gallery-dl: edit page (#15161) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Juri Dispan --- pages/common/gallery-dl.md | 4 ++++ pages/osx/autoraise.md | 8 ++++++++ pages/osx/bclm.md | 20 ++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 pages/osx/autoraise.md create mode 100644 pages/osx/bclm.md diff --git a/pages/common/gallery-dl.md b/pages/common/gallery-dl.md index b3e19bb49b..0e3ffdf8a0 100644 --- a/pages/common/gallery-dl.md +++ b/pages/common/gallery-dl.md @@ -7,6 +7,10 @@ `gallery-dl "{{url}}"` +- Save images to a specific directory: + +`gallery-dl --destination {{path/to/directory}} "{{url}}"` + - Retrieve pre-existing cookies from your web browser (useful for sites that require login): `gallery-dl --cookies-from-browser {{browser}} "{{url}}"` diff --git a/pages/osx/autoraise.md b/pages/osx/autoraise.md new file mode 100644 index 0000000000..71ee6c686a --- /dev/null +++ b/pages/osx/autoraise.md @@ -0,0 +1,8 @@ +# AutoRaise + +> Automatically raise and/or focus a window when hovering over it with the mouse. +> More information: . + +- Run AutoRaise in the background: + +`autoraise &` diff --git a/pages/osx/bclm.md b/pages/osx/bclm.md new file mode 100644 index 0000000000..f7c6ab6b41 --- /dev/null +++ b/pages/osx/bclm.md @@ -0,0 +1,20 @@ +# bclm + +> Set a custom charge limit on MacBooks. +> More information: . + +- Set the charge limit to about 80% (for Intel machines, the battery charge level may be slightly lower than the set value): + +`sudo bclm write {{77}}` + +- Read the current charge limit: + +`bclm read` + +- Keep the charge limit after rebooting/smc reset: + +`sudo bclm persist` + +- Remove the persistent charge limit: + +`sudo bclm unpersist`