diff --git a/modules/backlight b/modules/backlight new file mode 100644 index 0000000..d1dfd01 --- /dev/null +++ b/modules/backlight @@ -0,0 +1,12 @@ +#!/bin/bash + +# Prints the backlight percentage + +PREFIX='ﯧ' + +get_backlight() +{ + echo "$PREFIX $(light | sed 's/\..*//g')%" +} + +get_backlight