summaryrefslogtreecommitdiff
path: root/backlight
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-24 20:52:21 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-24 20:52:21 +0300
commit21b12225b93203b2b59c7f2d3f68c2eca57172ae (patch)
treed55f196fb298048b4b00b614e48965c7ff0c9892 /backlight
parent805c951522bc5063849b51a729b08bfdf16168df (diff)
Tooling for changing brightness, changing gpu power state, setting up
keybinds and displaying minimalist info with the pfetch unix shellscript Changes to be committed: new file: backlight new file: keybinds new file: nvpower new file: pfetch
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