STARTWayland, basically all my dotfiles + wayland equivalent to xinit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
startw/conf/config/scripts/brightness

17 lines
201 B

#!/bin/sh
back="$(xbacklight -get)"
case $1 in
-i)
scale="2.0"
;;
-d)
scale="0.5"
;;
*)
scale="1.0"
;;
esac
val="$(echo "${back} * ${scale}" | bc)"
exec xbacklight -fps 30 -set "$val"