Skip to content

Commit

Permalink
Merge pull request #120 from espoelstra/patch-1
Browse files Browse the repository at this point in the history
On some systems 400 is way too dim
  • Loading branch information
reynhout authored Nov 21, 2020
2 parents b45607e + a425174 commit 3e676d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/etc/rc.local
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ echo EHCI > /proc/acpi/wakeup
echo XHCI > /proc/acpi/wakeup

## set backlight brightness on boot (min is 0, max is 937)
echo 400 > /sys/class/backlight/intel_backlight/brightness
max_bright=$(cat /sys/class/backlight/intel_backlight/max_brightness)
echo $(( max_bright / 4 )) > /sys/class/backlight/intel_backlight/brightness

exit 0
## end chrx additions
Expand Down

0 comments on commit 3e676d2

Please sign in to comment.