Added scripts for battery and RAM usage to be used with dwmblocks
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# get battery percentage and current time remaining
|
||||
|
||||
acpi | awk -F '[, :]' '{print $6 " ~" $8":"$9}'
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# simple script to show systemmemory in dwmblocks
|
||||
|
||||
free -h | awk '/^Mem/ { print $3"/"$2 }' | sed s/i//g
|
||||
Reference in New Issue
Block a user