Replaced py3status with polybar

This commit is contained in:
Damien Broqua 2020-11-02 09:56:35 +01:00
parent d04260976c
commit 7c61730e32
4 changed files with 32 additions and 14 deletions

6
Bin/mouse_battery.sh Executable file
View 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}%