aboutsummaryrefslogtreecommitdiff
path: root/home/.config/i3/lightup
blob: d9336ef1e3dd0c6fe156617a5056ed601f6024e5 (plain)
1
2
3
4
5
6
#!/bin/sh
if [ $(light) = 0.00 ]; then
    light -S 1;
else
    light -S $(echo 1.122\*$(light) | bc);
fi;