12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- command=/usr/share/i3blocks/$BLOCK_NAME
- separator_block_width=32
- markup=none
- [key]
- full_text=key
- command=gpg-connect-agent 'GET_PASSPHRASE --no-ask KEYGRIP error prompt desc' /bye | grep --quiet OK || exit 33
- interval=60
- [mail]
- label=✉️
- command=python3 -c "import glob, os, sys; num=len(glob.glob(os.path.expanduser('~/.mail/*/inbox/new/*'))); print(num); sys.exit(33 if num else 0)"
- interval=120
- signal=2
- [volume 5% pulse]
- label=♪
- interval=30
- signal=10
- # default alert threshold 10%
- [disk 4]
- label=
- interval=30
- [iface]
- label=eth
- instance=eth0
- color=#00FF80
- interval=10
- [iface]
- label=wifi
- instance=wlan0
- color=#BFFF00
- interval=10
- separator=false
- separator_block_width=16
- [wifi_ssid]
- command=iwgetid --raw
- color=#BFFF00
- interval=10
- separator=false
- separator_block_width=16
- [wifi]
- label=
- interval=10
- [bandwidth]
- interval=5
- [cpu_usage]
- label=
- interval=10
- separator=false
- separator_block_width=16
- [load_average]
- interval=10
- separator=false
- separator_block_width=16
- [temperature]
- label=
- interval=10
- [battery]
- label=⚡
- interval=30
- separator=false
- separator_block_width=12
- [power]
- command=python3 -c "print('{:.0f} W'.format(int(open('/sys/class/power_supply/BAT0/power_now').read())/10**6))"
- interval=30
- [weather]
- command=curl --silent 'https://wttr.in/?format=%c+%t'
- interval=600
- [time]
- command=date '+%a %Y-%m-%d %H:%M:%S'
- interval=5
|