mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-12-23 13:32:53 +00:00
Added backlight module
This commit is contained in:
parent
71c3c2fc73
commit
e66c28134c
1 changed files with 12 additions and 0 deletions
12
modules/backlight
Normal file
12
modules/backlight
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Prints the backlight percentage
|
||||||
|
|
||||||
|
PREFIX='ﯧ'
|
||||||
|
|
||||||
|
get_backlight()
|
||||||
|
{
|
||||||
|
echo "$PREFIX $(light | sed 's/\..*//g')%"
|
||||||
|
}
|
||||||
|
|
||||||
|
get_backlight
|
Loading…
Reference in a new issue