mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-21 10:02:53 +00:00
13 lines
165 B
Bash
Executable file
13 lines
165 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Prints the backlight percentage
|
|
# Requires the light package
|
|
|
|
PREFIX='ﯧ'
|
|
|
|
get_backlight()
|
|
{
|
|
echo "$PREFIX $(xbacklight -get)%"
|
|
}
|
|
|
|
get_backlight
|