dotfiles.nix/scripts/kbl.fish

5 lines
187 B
Fish
Raw Normal View History

2020-01-17 17:11:49 +00:00
function kbl -a level
test -z "$level"; and set -l level (cat /sys/class/leds/tpacpi\:\:kbd_backlight/brightness)
echo $level > /sys/class/leds/tpacpi\:\:kbd_backlight/brightness
end