Skip to content

Instantly share code, notes, and snippets.

@fzerorubigd
Created September 14, 2019 12:16
Show Gist options
  • Save fzerorubigd/00ed853acd3e2ba0fc68335fb42d1c82 to your computer and use it in GitHub Desktop.
Save fzerorubigd/00ed853acd3e2ba0fc68335fb42d1c82 to your computer and use it in GitHub Desktop.
separator_block_width=15
color=#CCCCCC
align=center
[kernel-mismatch]
command=[ `uname -r | sed s/-lts//g` = `pacman -Q linux-lts | sed 's/linux-lts //g'` ] || echo ""
color=#FF0000
interval=100
[vpn-status]
command=nordvpn status | grep Status | grep Connected >> /dev/null || echo 
color=#00FF00
interval=10
[online-status]
command=ping -c 3 google.com >> /dev/null||echo ''
color=#FF0000
interval=10
[keylayout]
command=$HOME/bin/i3blocks-contrib/key_layout/key_layout
LABEL=
interval=30
[volume]
command=$HOME/bin/i3blocks-contrib/volume/volume
#LABEL=♪
LABEL=
interval=10
signal=10
#STEP=5%
#MIXER=[determined automatically]
#SCONTROL=[determined automatically]
[memory]
command=$HOME/bin/i3blocks-contrib/memory/memory
label=
interval=30
[temperature]
command=$HOME/bin/i3blocks-contrib/temperature/temperature
label=
interval=10
#T_WARN=70
#T_CRIT=90
#SENSOR_CHIP=""
[wifi]
command=$HOME/bin/i3blocks-contrib/wifi/wifi
label=
INTERFACE=wlp2s0
interval=60
[iface]
command=$HOME/bin/i3blocks-contrib/iface/iface
LABEL=
IFACE=wlp2s0
#ADDRESS_FAMILY=inet6?
color=#00FF00
interval=10
[cpu_usage2]
command=$HOME/bin/i3blocks-contrib/cpu_usage2/cpu_usage2
markup=pango
interval=persist
#min_width=CPU 100.00%
#REFRESH_TIME=1
LABEL=
#WARN_PERCENT=50
#CRIT_PERCENT=80
#DECIMALS=2
[batterybar]
command=$HOME/bin/i3blocks-contrib/batterybar/batterybar
label=bat:
interval=5
markup=pango
min_width=bat: ■■■■■
# Discharging colors low to high
#C1=#FF0027
#C2=#FF3B05
#C3=#FFB923
#C4=#FFD000
#C5=#E4FF00
#C6=#ADFF00
#C7=#6DFF00
#C8=#10BA00
#CHARGING_COLOR=#00AFE3
#FULL_COLOR=#FFFFFF
#AC_COLOR=#535353
#[power]
#command= sudo powernow | head -n 1 | sed -n -e 's/.*using //p'
#interval=15
#color=#6D6DFF
#[bandwidth]
#command=$HOME/bin/network.pl
#interval=5
[bandwidth]
command=$HOME/bin/i3blocks-contrib/bandwidth2/bandwidth2
interval=persist
markup=pango
LABEL=
WARN_RX=307200
WARN_TX=30720
CRIT_RX=512000
CRIT_TX=51200
[calendar]
command=$HOME/bin/i3blocks-contrib/calendar/calendar
interval=1
LABEL=
DATEFMT=+%H:%M:%S
# SHORTFMT=+%H:%M:%S
HEIGHT=180
WIDTH=220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment