independ battery and volume

This commit is contained in:
2022-09-17 17:55:31 -04:00
parent 1e4b4d0096
commit 325fa5ef64
9 changed files with 21 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
# this is a dirty hack.
# acpi | awk '{print $4}' will print the battery percentage,
# and s/,$// strips the trailing comma.
acpi | awk '{print $4}' | sed 's/,$//'