diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-01 16:52:18 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-01 16:52:18 +0200 |
commit | 724c909403603f6bdbf80099cfc5a44719e5acc4 (patch) | |
tree | 447e1b159202389e1153c557d1b8ad4483f220c7 /pkgs | |
parent | fix(pkgs/git-cleanup): Don't quote the branches (diff) | |
download | nixos-config-724c909403603f6bdbf80099cfc5a44719e5acc4.tar.gz nixos-config-724c909403603f6bdbf80099cfc5a44719e5acc4.zip |
fix(pkgs/brightness): Act on the correct backlight path
Diffstat (limited to 'pkgs')
-rwxr-xr-x | pkgs/by-name/br/brightness/brightness.sh | 2 |
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" |