about summary refs log tree commit diff stats
path: root/notes/laptop.md
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-20 17:21:42 +0100
committerSoispha <soispha@vhack.eu>2024-02-20 17:21:42 +0100
commitf2bdeaed0bcf97a880fe36cfc8a050d1643120b8 (patch)
treeba4fe9c3ddf076529701c0e776ffef2104ac23d5 /notes/laptop.md
parentrefactor(treewide): Add a `.sh` extension to shell scripts (diff)
downloadnixos-config-f2bdeaed0bcf97a880fe36cfc8a050d1643120b8.zip
refactor(treewide): Reformat all files with treefmt
This includes getting all shellscripts to pass shellcheck. To accomplish
this, some old scripts were removed
Diffstat (limited to 'notes/laptop.md')
-rw-r--r--notes/laptop.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/notes/laptop.md b/notes/laptop.md
index 9f809e30..38ae5a24 100644
--- a/notes/laptop.md
+++ b/notes/laptop.md
@@ -1,8 +1,12 @@
 # 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
+
+```
+#! / bin / bash
+brightness = $ (cat / sys / class / backlight / intel_backlight / brightness)
+brightness = $ (expr $ brightness - 300)
+echo $ brightness> / sys / class / backlight / intel_backlight / brightness
+```