mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-09 22:19:45 +00:00
Merge branch 'master' of github.com:thytom/dwmbar
This commit is contained in:
commit
474487326d
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