summaryrefslogtreecommitdiff
path: root/backlight
diff options
context:
space:
mode:
Diffstat (limited to 'backlight')
-rwxr-xr-xbacklight5
1 files changed, 5 insertions, 0 deletions
diff --git a/backlight b/backlight
new file mode 100755
index 0000000..8eaf6e4
--- /dev/null
+++ b/backlight
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+set -e
+
+sudo echo $1 > /sys/class/backlight/amdgpu_bl0/brightness