clean up scripts
This commit is contained in:
9
.config/polybar/scripts/info-docker.sh
Normal file
9
.config/polybar/scripts/info-docker.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
STATUS="running exited dead"
|
||||
|
||||
for stat in $STATUS; do
|
||||
output="$output $(sudo docker ps -qf status="$stat" | wc -l) |"
|
||||
done
|
||||
|
||||
echo "|$output"
|
||||
Reference in New Issue
Block a user