about summary refs log tree commit diff stats
path: root/notes/laptop.md
diff options
context:
space:
mode:
Diffstat (limited to 'notes/laptop.md')
-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