Replaced py3status with polybar
This commit is contained in:
parent
d04260976c
commit
7c61730e32
4 changed files with 32 additions and 14 deletions
6
Bin/mouse_battery.sh
Executable file
6
Bin/mouse_battery.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#! /bin/bash
|
||||
|
||||
MOUSE_PATH=`qdbus --system org.freedesktop.UPower|grep mouse`
|
||||
PERCENTAGE=`qdbus --system org.freedesktop.UPower ${MOUSE_PATH} org.freedesktop.UPower.Device.Percentage`
|
||||
|
||||
echo ${PERCENTAGE}%
|
Loading…
Add table
Add a link
Reference in a new issue