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-17 17:57:59 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-17 17:57:59 +0200
commitf93503d8c24bcd3af58ae2a4ca8c1aa85d5dabf0 (patch)
tree26ce7f5ba524053648c9499402706b59d697185a /pkgs
parentbuild(treewide): Update (diff)
downloadnixos-config-f93503d8c24bcd3af58ae2a4ca8c1aa85d5dabf0.tar.gz
nixos-config-f93503d8c24bcd3af58ae2a4ca8c1aa85d5dabf0.zip
style(pkgs/brightness): Format
Diffstat (limited to 'pkgs')
-rwxr-xr-xpkgs/by-name/br/brightness/brightness.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/br/brightness/brightness.sh b/pkgs/by-name/br/brightness/brightness.sh
index 5ad4eade..a3f93bfd 100755
--- a/pkgs/by-name/br/brightness/brightness.sh
+++ b/pkgs/by-name/br/brightness/brightness.sh
@@ -38,7 +38,7 @@ brightness() {
 
     output="$(echo | awk --assign=new="$new" --assign=max="$max" '{printf max * new}')"
 
-    echo "$output" > "$BACKLIGHT/brightness"
+    echo "$output" >"$BACKLIGHT/brightness"
 }
 
 for arg in "$@"; do
@@ -63,7 +63,7 @@ case "$1" in
     if [ -n "$1" ]; then
         value="$1"
     else
-        die "No value specified";
+        die "No value specified"
     fi
 
     brightness "$value"