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