2017-11-22 01:27:01 +01: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
|
|
|
|
# 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.
|
2019-09-09 20:04:37 +02:00
|
|
|
command=${HOME}/.i3blocks/$name
|
2018-07-29 15:08:47 +02:00
|
|
|
separator_block_width=11
|
2018-03-06 14:47:28 +01:00
|
|
|
markup=pango
|
2017-11-22 01:27:01 +01:00
|
|
|
|
|
|
|
#[window_title]
|
|
|
|
#command=echo $(xdotool getactivewindow getwindowname)
|
|
|
|
#interval=1
|
|
|
|
|
|
|
|
# CPU usage
|
|
|
|
#
|
|
|
|
# The script may be called with -w and -c switches to specify thresholds,
|
|
|
|
# see the script for details.
|
|
|
|
[cpu_usage]
|
|
|
|
interval=1
|
|
|
|
#min_width= 99.99%
|
|
|
|
#separator=false
|
|
|
|
|
|
|
|
[load_average]
|
2018-03-06 14:47:28 +01:00
|
|
|
interval=5
|
2017-11-22 01:27:01 +01:00
|
|
|
|
|
|
|
# Temperature
|
|
|
|
#
|
|
|
|
# Support multiple chips, though lm-sensors.
|
|
|
|
# The script may be called with -w and -c switches to specify thresholds,
|
|
|
|
# see the script for details.
|
2019-06-14 09:42:47 +02:00
|
|
|
#[temperature]
|
|
|
|
#instance=coretemp-isa-0000
|
|
|
|
#interval=3
|
|
|
|
#separator=false
|
|
|
|
#
|
|
|
|
#[temperature]
|
|
|
|
#instance=radeon-pci-0300
|
|
|
|
#interval=3
|
2017-11-22 01:27:01 +01:00
|
|
|
# Memory usage
|
|
|
|
#
|
|
|
|
# The type defaults to "mem" if the instance is not specified.
|
|
|
|
[memory]
|
2019-06-14 09:42:47 +02:00
|
|
|
#separator=false
|
2018-05-02 22:48:01 +02:00
|
|
|
interval=2
|
2017-11-22 01:27:01 +01:00
|
|
|
#min_width=RAM 99.99%
|
|
|
|
|
2019-06-14 09:42:47 +02:00
|
|
|
#[memory]
|
|
|
|
#instance=swap
|
|
|
|
##separator=false
|
|
|
|
#interval=2
|
|
|
|
##min_width=swap 99.9%
|
2017-11-22 01:27:01 +01:00
|
|
|
|
|
|
|
# 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]
|
|
|
|
#instance=/
|
|
|
|
#interval=30
|
|
|
|
#separator=false
|
|
|
|
|
|
|
|
#[disk]
|
|
|
|
#instance=/mnt/data
|
|
|
|
#interval=30
|
|
|
|
|
2018-03-06 14:47:28 +01:00
|
|
|
[internet]
|
|
|
|
interval=30
|
|
|
|
separator=false
|
2017-11-22 01:27:01 +01:00
|
|
|
|
|
|
|
# Network interface monitoring
|
|
|
|
#
|
|
|
|
# If the instance is not specified, use the interface used for default route.
|
|
|
|
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
|
|
|
|
#[iface]
|
|
|
|
#instance=wlp1s0
|
|
|
|
#interval=10
|
|
|
|
#separator=false
|
|
|
|
|
|
|
|
#[public_ip]
|
|
|
|
#interval=60
|
|
|
|
#separator=false
|
|
|
|
|
2018-03-06 14:47:28 +01:00
|
|
|
[vpn]
|
|
|
|
interval=30
|
2018-12-26 00:40:38 +01:00
|
|
|
separator=false
|
|
|
|
|
|
|
|
#[bandwidth]
|
|
|
|
#interval=1
|
|
|
|
#markup=none
|
2018-03-06 14:47:28 +01:00
|
|
|
|
|
|
|
# Packages to update
|
|
|
|
[updates]
|
|
|
|
interval=600
|
|
|
|
|
2017-11-22 01:27:01 +01:00
|
|
|
|
|
|
|
#[wifi]
|
|
|
|
#instance=wlp1s0
|
|
|
|
#interval=3
|
|
|
|
#separator=false
|
|
|
|
|
|
|
|
#[bandwidth]
|
|
|
|
#instance=wlp1s0
|
|
|
|
#interval=1
|
|
|
|
#min_width=d 999K u 999K
|
|
|
|
|
|
|
|
#[bandwidth]
|
|
|
|
#instance=enp0s31f6
|
|
|
|
#interval=1
|
|
|
|
#min_width=IN 999K OUT 999K
|
|
|
|
|
|
|
|
|
|
|
|
# Battery indicator
|
|
|
|
#
|
|
|
|
# The battery instance defaults to 0.
|
2018-03-06 14:47:28 +01:00
|
|
|
#[battery]
|
|
|
|
#instance=0
|
|
|
|
#interval=5
|
|
|
|
|
2019-04-19 22:18:25 +02:00
|
|
|
#[batterybar]
|
2018-11-30 22:00:19 +01:00
|
|
|
#[battery]
|
2019-04-19 22:18:25 +02:00
|
|
|
#interval=10
|
2019-01-21 08:16:41 +01:00
|
|
|
#min_width="bat ██████"
|
2017-11-22 01:27:01 +01:00
|
|
|
|
|
|
|
# Generic media player support
|
|
|
|
#
|
|
|
|
# This displays "ARTIST - SONG" if a music is playing.
|
|
|
|
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
|
2019-06-13 20:12:29 +02:00
|
|
|
[mpd]
|
2017-11-22 01:27:01 +01:00
|
|
|
#instance=spotify
|
2018-07-29 15:08:47 +02:00
|
|
|
interval=1
|
2017-11-22 01:27:01 +01:00
|
|
|
signal=13
|
2018-11-30 22:00:19 +01:00
|
|
|
#markup=none
|
2017-11-22 01:27:01 +01:00
|
|
|
|
|
|
|
# OpenVPN support
|
|
|
|
#
|
|
|
|
# Support multiple VPN, with colors.
|
|
|
|
#[openvpn]
|
|
|
|
#interval=20
|
|
|
|
|
|
|
|
# Volume indicator
|
|
|
|
#
|
|
|
|
# The first parameter sets the step (and units to display)
|
|
|
|
# The second parameter overrides the mixer selection
|
|
|
|
# See the script for details.
|
|
|
|
[volume]
|
2019-09-09 20:04:37 +02:00
|
|
|
instance=vol
|
2017-11-22 01:27:01 +01:00
|
|
|
#instance=PCM
|
|
|
|
interval=once
|
|
|
|
signal=10
|
|
|
|
separator=false
|
|
|
|
|
|
|
|
[volume]
|
2019-09-09 20:04:37 +02:00
|
|
|
instance=mic
|
2017-11-22 01:27:01 +01:00
|
|
|
#instance=PCM
|
|
|
|
interval=once
|
|
|
|
signal=10
|
|
|
|
|
|
|
|
|
|
|
|
# Key indicators
|
|
|
|
#
|
|
|
|
# Add the following bindings to i3 config file:
|
|
|
|
#
|
|
|
|
# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
|
|
|
|
# bindsym --release Num_Lock exec pkill -SIGRTMIN+12 i3blocks
|
|
|
|
[keyindicator]
|
2019-09-09 20:04:37 +02:00
|
|
|
instance=Caps
|
2017-11-22 01:27:01 +01:00
|
|
|
interval=once
|
|
|
|
signal=11
|
|
|
|
separator=false
|
|
|
|
|
|
|
|
[keyindicator]
|
2019-09-09 20:04:37 +02:00
|
|
|
instance=Num
|
2017-11-22 01:27:01 +01:00
|
|
|
interval=once
|
|
|
|
signal=12
|
|
|
|
# Date Time
|
|
|
|
#
|
|
|
|
[time]
|
|
|
|
interval=1
|
2018-03-06 14:47:28 +01:00
|
|
|
markup=none
|