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