Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-17 00:21:25 +00:00
parent c2565bdd4e
commit ce240b2f02
12 changed files with 161 additions and 24 deletions

34
tldr/linux/hyprsunset Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# hyprsunset
> A blue light filter for Hyprland.
> Optionally configured via `~/.config/hypr/hyprsunset.conf`.
> More information: <https://wiki.hypr.land/Hypr-Ecosystem/hyprsunset/>.
- Start the hyprsunset service:
`hyprsunset`
- Start the hyprsunset service with a specified color temperature and gamma percentage:
`hyprsunset {{[-t|--temperature]}} {{temperature}} {{[-g|--gamma]}} {{gamma}}`
- Adjust the color temperature while the hyprsunset service is running:
`hyprctl hyprsunset temperature {{temperature}}`
- Adjust the gamma while the hyprsunset service is running:
`hyprctl hyprsunset gamma {{gamma}}`
- Reset the color temperature to 6000K:
`hyprctl hyprsunset reset temperature`
- Reset the gamma to 100%:
`hyprctl hyprsunset reset gamma`

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl disable
> Disable systemd services.
> See also: `systemctl revert`.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#disable%20UNIT%E2%80%A6>.
- Stop a service from running on boot:

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo systemctl edit {{unit_file}}`
- Edit an unit file:
- Edit a unit file:
`sudo systemctl edit {{unit_file}} {{[-l|--full]}}`

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl enable
> Enable systemd services.
> See also: `systemctl revert`.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#enable%20UNIT%E2%80%A6>.
- Enable a service to run on boot:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl mask
> Link units to `/dev/null` so that they cannot be started.
> See also: `systemctl revert`.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#mask%20UNIT%E2%80%A6>.
- Mask a service:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl set-property
> Set the specified unit properties at runtime.
> See also: `systemctl revert`.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#set-property%20UNIT%20PROPERTY=VALUE%E2%80%A6>.
- Set a property for a running service: