Added scripts for battery and RAM usage to be used with dwmblocks

This commit is contained in:
2021-01-20 14:09:19 +01:00
parent 2ee153db3c
commit 93347ad269
3 changed files with 13 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
# get battery percentage and current time remaining
acpi | awk -F '[, :]' '{print $6 " ~" $8":"$9}'
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
# simple script to show systemmemory in dwmblocks
free -h | awk '/^Mem/ { print $3"/"$2 }' | sed s/i//g