mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-22 02:22:53 +00:00
12 lines
144 B
Bash
12 lines
144 B
Bash
#!/bin/bash
|
|
|
|
# Prints the backlight percentage
|
|
|
|
PREFIX='ﯧ'
|
|
|
|
get_backlight()
|
|
{
|
|
echo "$PREFIX $(light | sed 's/\..*//g')%"
|
|
}
|
|
|
|
get_backlight
|