From a35b56247cc07a5f9edcddd633ec7af728497b93 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 9 May 2023 18:30:36 +0200 Subject: Docs(notes/laptop): Add section about backlight --- notes/laptop.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'notes') 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 -- cgit 1.4.1