diff options
author | Soispha <soispha@vhack.eu> | 2023-05-09 18:30:36 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-09 19:38:42 +0200 |
commit | a35b56247cc07a5f9edcddd633ec7af728497b93 (patch) | |
tree | b11f32173779bfd47b306a2a75a4e00c9a89482b /notes/laptop.md | |
parent | Build(cog): Add (diff) | |
download | nixos-config-a35b56247cc07a5f9edcddd633ec7af728497b93.tar.gz nixos-config-a35b56247cc07a5f9edcddd633ec7af728497b93.zip |
Docs(notes/laptop): Add section about backlight
Diffstat (limited to 'notes/laptop.md')
-rw-r--r-- | notes/laptop.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/notes/laptop.md b/notes/laptop.md index 26ee4dd5..9f809e30 100644 --- a/notes/laptop.md +++ b/notes/laptop.md @@ -1,2 +1,8 @@ # backlight Run `ls /sys/class/backlight` to see possible options. + +# brightness + #! / bin / bash + brightness = $ (cat / sys / class / backlight / intel_backlight / brightness) + brightness = $ (expr $ brightness - 300) + echo $ brightness> / sys / class / backlight / intel_backlight / brightness |