diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-01 16:52:43 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-01 16:52:43 +0200 |
commit | 26b1713ee422117c0ffd2c67677f66f43ab6c897 (patch) | |
tree | c7ec5262cd529ef7dc9cd558d2c152c72fb6a69a /pkgs | |
parent | fix(pkgs/brightness): Act on the correct backlight path (diff) | |
download | nixos-config-26b1713ee422117c0ffd2c67677f66f43ab6c897.tar.gz nixos-config-26b1713ee422117c0ffd2c67677f66f43ab6c897.zip |
fix(pkgs/brightness): Actually change something
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 d763b3ca..d0cccfee 100755 --- a/pkgs/by-name/br/brightness/brightness.sh +++ b/pkgs/by-name/br/brightness/brightness.sh @@ -43,7 +43,7 @@ brightness() { output="$(echo | awk --assign=new="$new" --assign=max="$max" '{printf max * new}')" - msg "echo \"$output\" > $BACKLIGHT/brightness" + echo "$output" | sudo tee "$BACKLIGHT/brightness" >/dev/null } for arg in "$@"; do |