#!/bin/bash # Prints the backlight percentage # Requires the light package PREFIX='ﯧ' get_backlight() { echo "$PREFIX $(xbacklight -get)%" } get_backlight