From 26b1713ee422117c0ffd2c67677f66f43ab6c897 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 1 Jun 2024 16:52:43 +0200 Subject: fix(pkgs/brightness): Actually change something --- pkgs/by-name/br/brightness/brightness.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs') 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 -- cgit 1.4.1