commit 5e0dd79
hovercats
·
2022-03-03 19:12:03 +0000 UTC
parent 3045a15
bri: add more info inside script
1 files changed,
+3,
-1
M
bri
M
bri
+3,
-1
1@@ -4,7 +4,9 @@
2
3 # Path to brightness file, which holds value of current brightness
4 # This path may be different across systems, change it accordingly
5-# You will also need read/write access to this file
6+# You will also need read/write access to this file.
7+# Permissions on this file does however not persist across reboots, so a boot
8+# hook is neccessary to set appropriate permissions upon boot.
9 BRI_FILE='/sys/class/backlight/amdgpu_bl0/brightness'
10 CURR_BRI=$(cat "$BRI_FILE")
11