uconsole battery
This commit is contained in:
parent
a0fe84e616
commit
f05065c3a3
6
niceties/battery.uconsole
Executable file
6
niceties/battery.uconsole
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
upower -i /org/freedesktop/UPower/devices/DisplayDevice \
|
||||
| sed -n \
|
||||
-e '/percentage/s:^.*percentage.\ *::'\
|
||||
-e 's:%.*::p'
|
Loading…
Reference in New Issue
Block a user