clean up scripts
This commit is contained in:
5
.config/polybar/scripts/battery-combined-tlp.sh
Normal file
5
.config/polybar/scripts/battery-combined-tlp.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
battery=$(sudo tlp-stat -b | tac | grep -m 1 "Charge" | tr -d -c "[:digit:],.")
|
||||
|
||||
echo "# $battery %"
|
||||
Reference in New Issue
Block a user