about summary refs log tree commit diff stats
path: root/notes
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-09 18:30:36 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:38:42 +0200
commita35b56247cc07a5f9edcddd633ec7af728497b93 (patch)
treeb11f32173779bfd47b306a2a75a4e00c9a89482b /notes
parentBuild(cog): Add (diff)
downloadnixos-config-a35b56247cc07a5f9edcddd633ec7af728497b93.tar.gz
nixos-config-a35b56247cc07a5f9edcddd633ec7af728497b93.zip
Docs(notes/laptop): Add section about backlight
Diffstat (limited to 'notes')
-rw-r--r--notes/laptop.md6
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