2020-07-08 13:45:47 +00:00
|
|
|
# i3blocks config file
|
|
|
|
#
|
|
|
|
# Please see man i3blocks for a complete reference!
|
|
|
|
# The man page is also hosted at http://vivien.github.io/i3blocks
|
|
|
|
#
|
|
|
|
# List of valid properties:
|
|
|
|
#
|
|
|
|
# align
|
|
|
|
# color
|
|
|
|
# command
|
|
|
|
# full_text
|
|
|
|
# instance
|
|
|
|
# interval
|
|
|
|
# label
|
|
|
|
# min_width
|
|
|
|
# name
|
|
|
|
# separator
|
|
|
|
# separator_block_width
|
|
|
|
# short_text
|
|
|
|
# signal
|
|
|
|
# urgent
|
|
|
|
|
|
|
|
# Global properties
|
|
|
|
#
|
|
|
|
# The top properties below are applied to every block, but can be overridden.
|
|
|
|
# Each block command defaults to the script name to avoid boilerplate.
|
|
|
|
# Change $SCRIPT_DIR to the location of your scripts!
|
|
|
|
command=/home/nemo/.config/i3blocks/$BLOCK_NAME/$BLOCK_NAME
|
|
|
|
separator_block_width=15
|
|
|
|
markup=none
|
|
|
|
|
2020-12-20 16:25:02 +00:00
|
|
|
#[wifi]
|
|
|
|
#label=wifi:
|
|
|
|
#align=left
|
|
|
|
#interval=5
|
2020-07-08 13:45:47 +00:00
|
|
|
|
2021-04-20 12:25:22 +00:00
|
|
|
[pomodoro]
|
|
|
|
command=/home/nemo/projects/go/bin/openpomodoro-cli status
|
|
|
|
interval=1
|
|
|
|
color=#e74c3c
|
|
|
|
|
2020-07-08 13:45:47 +00:00
|
|
|
[weather]
|
|
|
|
command=curl -Ss 'https://wttr.in/Bangalore?0&T&Q' | cut -c 16- | head -2 | xargs echo
|
2021-02-26 08:31:52 +00:00
|
|
|
# Every 30 minutes
|
|
|
|
interval=1800
|
2020-07-08 13:45:47 +00:00
|
|
|
color=#A4C2F4
|
|
|
|
|
|
|
|
[ip]
|
|
|
|
command=ip address show dev wlan0 | grep inet | head -n1 | cut -d ' ' -f 6
|
|
|
|
interval=3600
|
|
|
|
color=#91E78B
|
|
|
|
|
2021-06-22 10:01:15 +00:00
|
|
|
#[volume]
|
|
|
|
#LABEL=♪
|
|
|
|
#interval=once
|
|
|
|
#signal=10
|
2020-07-08 13:45:47 +00:00
|
|
|
|
|
|
|
# I rarely run out of memory, so this is commented
|
|
|
|
#[memory]
|
|
|
|
#separator=|
|
|
|
|
#interval=30
|
|
|
|
|
|
|
|
[dunst]
|
|
|
|
interval=once
|
|
|
|
format=json
|
|
|
|
markup=pango
|
|
|
|
|
|
|
|
# Shows disk space remaining in /home
|
|
|
|
[disk]
|
|
|
|
interval=30
|
2021-06-22 10:01:15 +00:00
|
|
|
label=Disk
|
2020-07-08 13:45:47 +00:00
|
|
|
|
|
|
|
[bandwidth2]
|
|
|
|
interval=persist
|
|
|
|
markup=pango
|
|
|
|
LABEL=
|
|
|
|
interval=60
|
|
|
|
|
|
|
|
[cpu_usage2]
|
|
|
|
markup=pango
|
|
|
|
interval=persist
|
|
|
|
min_width=CPU 100.00%
|
|
|
|
REFRESH_TIME=1
|
|
|
|
LABEL=CPU
|
|
|
|
WARN_PERCENT=50
|
|
|
|
CRIT_PERCENT=80
|
|
|
|
DECIMALS=2
|
|
|
|
|
|
|
|
[load_average]
|
|
|
|
label=🗠
|
|
|
|
interval=10
|
|
|
|
|
|
|
|
# Battery indicator
|
|
|
|
#
|
|
|
|
# The battery instance defaults to 0.
|
|
|
|
#[battery]
|
|
|
|
#label=BAT
|
|
|
|
#label=⚡
|
|
|
|
#interval=30
|
|
|
|
|
|
|
|
# Generic media player support
|
|
|
|
#
|
|
|
|
# This displays "ARTIST - SONG" if a music is playing.
|
|
|
|
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
|
2021-04-20 12:25:22 +00:00
|
|
|
[mediaplayer]
|
2021-06-22 10:01:15 +00:00
|
|
|
instance=%any
|
2021-04-20 12:25:22 +00:00
|
|
|
interval=5
|
|
|
|
signal=10
|
2020-07-08 13:45:47 +00:00
|
|
|
|
|
|
|
[nm-vpn]
|
|
|
|
interval=20
|
|
|
|
|
|
|
|
[rofi-calendar]
|
|
|
|
interval=30
|
|
|
|
LABEL=
|
2020-12-20 16:25:02 +00:00
|
|
|
FONT=Monospace 10
|
2020-07-08 13:45:47 +00:00
|
|
|
|
|
|
|
[time]
|
|
|
|
command=date '+%H:%M'
|
|
|
|
interval=60
|
2021-04-20 12:25:22 +00:00
|
|
|
|
|
|
|
[temperature]
|
|
|
|
interval=10
|
|
|
|
T_WARN=85
|
|
|
|
T_CRIT=90
|
|
|
|
SENSOR_CHIP=coretemp-isa-0000
|
2021-05-11 09:00:58 +00:00
|
|
|
interval=2
|
2021-04-20 12:25:22 +00:00
|
|
|
|
|
|
|
[monitor_manager]
|
|
|
|
interval=once
|
|
|
|
SHOW_ON_OFF=1
|
|
|
|
SHOW_NAMES=0
|
|
|
|
SHOW_PRIMARY=0
|
|
|
|
SHOW_MODE=1
|
|
|
|
SHOW_BLANKED=0
|
|
|
|
SHOW_DUPLICATE=0
|
|
|
|
SHOW_ROTATION=0
|
|
|
|
SHOW_REFLECTION=0
|
|
|
|
SHOW_BRIGHTNESS=0
|
|
|
|
SHOW_BRIGHTNESS_VALUE=0
|
|
|
|
SHOW_UP_DOWN=0
|
|
|
|
FONT_FAMILY=DejaVu Sans Mono
|
|
|
|
FONT_SIZE=12
|
|
|
|
CLOSE_TO_BOUNDARY_BUFFER=30
|