Further setups and all-around fixes

This commit is contained in:
2025-10-23 13:49:02 +02:00
parent 490be89cb7
commit f8cc90d09b
6 changed files with 83 additions and 74 deletions
+11 -11
View File
@@ -8,7 +8,7 @@
# Global properties
separator=true
separator_block_width=15
separator_block_width=20
[greetings]
color=#f5af19
@@ -16,7 +16,7 @@ command=echo "$USER"
interval=once
[cpu]
command=top -bn1 | grep "Cpu(s)" | sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | awk '{print 100 - $1"%"}'
command=mpstat 1 1 | awk '/Average/ {print 100 - $NF"%"}'
interval=5
label=CPU:
@@ -30,18 +30,18 @@ command=free -h | awk '/^Mem/ {print $3 "/" $2}'
interval=10
label=MEM:
[down]
command=vnstat -tr 2 | tail -n 3 | awk '/rx/ {print $2}'
interval=5
label=DOWN:
#[down]
#command=vnstat -tr 2 | tail -n 3 | awk '/rx/ {print $2}'
#interval=5
#label=DOWN:
[up]
command=vnstat -tr 2 | tail -n 3 | awk '/tx/ {print $2}'
interval=5
label=UP:
#[up]
#command=vnstat -tr 2 | tail -n 3 | awk '/tx/ {print $2}'
#interval=5
#label=UP:
[time]
command=date '+%Y-%m-%d %H:%M:%S'
command=date '+%d.%m %H:%M:%S'
interval=1