added a function to set the brightness

This commit is contained in:
aminnairi
2023-04-14 23:37:04 +02:00
parent ed78850861
commit bc1de4af55
+3
View File
@@ -0,0 +1,3 @@
function set_brightness --argument-names amount
echo $amount | sudo tee /sys/class/backlight/*/brightness > /dev/null
end