mirror of
https://github.com/agresdominik/dotfiles.git
synced 2026-04-21 18:05:50 +00:00
Further setups and all-around fixes
This commit is contained in:
+11
-11
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user