about summary refs log tree commit diff stats
path: root/pkgs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-01 16:52:18 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-01 16:52:18 +0200
commit724c909403603f6bdbf80099cfc5a44719e5acc4 (patch)
tree447e1b159202389e1153c557d1b8ad4483f220c7 /pkgs
parentfix(pkgs/git-cleanup): Don't quote the branches (diff)
downloadnixos-config-724c909403603f6bdbf80099cfc5a44719e5acc4.tar.gz
nixos-config-724c909403603f6bdbf80099cfc5a44719e5acc4.zip
fix(pkgs/brightness): Act on the correct backlight path
Diffstat (limited to 'pkgs')
-rwxr-xr-xpkgs/by-name/br/brightness/brightness.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/br/brightness/brightness.sh b/pkgs/by-name/br/brightness/brightness.sh
index a7272279..d763b3ca 100755
--- a/pkgs/by-name/br/brightness/brightness.sh
+++ b/pkgs/by-name/br/brightness/brightness.sh
@@ -30,7 +30,7 @@ ARGUMENTS:
 EOF
 }
 
-BACKLIGHT="/sys/class/%BACKLIGHT_NAME"
+BACKLIGHT="/sys/class/backlight/%BACKLIGHT_NAME"
 
 brightness() {
     offset="$1"