Added backlight module

This commit is contained in:
Manuel Palenzuela 2019-10-21 20:46:13 +01:00
parent 71c3c2fc73
commit e66c28134c

12
modules/backlight Normal file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# Prints the backlight percentage
PREFIX='ﯧ'
get_backlight()
{
echo "$PREFIX $(light | sed 's/\..*//g')%"
}
get_backlight