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