diff --git a/docker/README.md b/docker/README.md index 58119960..c6892d0a 100644 --- a/docker/README.md +++ b/docker/README.md @@ -13,7 +13,7 @@ Show the number of running `Docker` containers and latest created container IP a ``` [docker] command=$SCRIPT_DIR/docker -label=🐳 color=#0db7ed interval=10 +LABEL=🐳 ``` diff --git a/docker/docker b/docker/docker index d38271fa..5819cf9a 100755 --- a/docker/docker +++ b/docker/docker @@ -5,4 +5,4 @@ count=$(docker ps -q | wc -l | sed -r 's/^0$//g') # Recent docker container IP recent_ip=$(docker inspect -f "{{ .NetworkSettings.IPAddress }}" $(docker ps -ql)) -echo "$count: $recent_ip" +echo "$LABEL$count: $recent_ip" diff --git a/docker/i3blocks.conf b/docker/i3blocks.conf index e3c26c45..5a8106ad 100644 --- a/docker/i3blocks.conf +++ b/docker/i3blocks.conf @@ -1,5 +1,5 @@ [docker] command=$SCRIPT_DIR/docker -label=🐳 color=#0db7ed interval=10 +LABEL=🐳