i3blocks config

Abhirag

Global Properties

command=/usr/share/i3blocks/$BLOCK_NAME
separator_block_width=5
markup=none

Music

[music]
command=ncmpcpp --current-song="{%a: %t}"
interval=5
separator_block_width=15
separator=true
color=#00ff00

Disk

[disk_label]
full_text=<span background="#ff32cb" foreground="black">DISK</span>
markup=pango
separator=false

# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
interval=30

Network

[network_label]
full_text=<span background="#FFFB28" foreground="black">NETWORK</span>
markup=pango
separator=false
[wifi]
#instance=wlp3s0
interval=10
separator=false

[bandwidth]
#instance=eth0
interval=5

Cpu

# CPU usage
[cpu_label]
full_text=<span background="#00FF00" foreground="black">CPU</span>
markup=pango
separator=false
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[cpu_usage]
interval=10
min_width=100.00%
separator=false

Battery

# Battery indicator
#
[battery_label]
full_text=<span background="#F92672" foreground="black">BATTERY</span>
markup=pango
separator=true
# The battery instance defaults to 0.
[battery]
interval=30

Time

[time_label]
full_text=<span background="#00d6ff" foreground="black">TIME</span>
markup=pango
separator=true
# Date Time
#
[time]
command=date '+%d-%m-%Y %H:%M'
interval=60
color=#00ff00