mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 16:48:53 +00:00
Update cheatsheets
This commit is contained in:
34
tldr/linux/hyprsunset
Normal file
34
tldr/linux/hyprsunset
Normal 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`
|
||||
@@ -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:
|
||||
|
||||
@@ -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]}}`
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user