dotfiles/i3/i3blocks.conf

147 lines
2.7 KiB
Plaintext
Raw Normal View History

2017-09-20 17:23:24 +02: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.
command=/usr/lib/i3blocks/$BLOCK_NAME/$BLOCK_NAME
2017-09-20 17:23:24 +02:00
separator_block_width=15
markup=none
[tidal]
command=bash ~/.config/i3/scripts/blocks/tidal.sh
2019-02-20 08:51:56 +01:00
separator_block_width=13
interval=1
color=#00ffff
[weather]
command=curl wttr.in?format=1
separator_block_width=13
interval=900
color=#999999
2019-02-20 08:51:56 +01:00
2017-09-20 17:23:24 +02: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.
[temperature]
command=bash ~/.config/i3/scripts/blocks/temp.sh
label=
2017-09-20 17:23:24 +02:00
interval=1
2018-12-27 08:27:03 +01:00
color=#999999
2017-09-20 17:23:24 +02:00
# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[cpu_usage]
label=
interval=1
#min_width=CPU:100.00%
separator=true
[load_average]
label=
interval=10
separator=true
2018-12-27 08:27:03 +01:00
color=#999999
2017-09-20 17:23:24 +02:00
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=
2017-09-20 17:23:24 +02:00
separator=true
interval=30
2018-12-27 08:27:03 +01:00
color=#999999
2017-09-20 17:23:24 +02: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]
label=
2017-09-20 17:23:24 +02:00
instance=/
interval=5
separator=true
2018-12-27 08:27:03 +01:00
color=#999999
2017-09-20 17:23:24 +02:00
# Updates
[updates]
label=
command=pacman -Qu | wc -l
interval=60
separator=true
2018-12-27 08:27:03 +01:00
color=#999999
2017-09-20 17:23:24 +02: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=wlan0
label=
2017-09-20 17:23:24 +02:00
color=#0fad3c
interval=10
separator=true
# ping
[ping]
label=
command=ping -c 2 8.8.8.8 | tail -1 | awk '{print $4}' | cut -d '/' -f 2 | cut -f1 -d"."
interval=60
2017-09-20 17:23:24 +02:00
separator=true
2018-12-27 08:27:03 +01:00
color=#999999
2017-09-20 17:23:24 +02:00
# 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]
label=
2017-09-20 17:23:24 +02:00
instance=Master
interval=1
command=/usr/lib/i3blocks/volume/volume 5 pulse
2017-09-20 17:23:24 +02:00
signal=10
separator=true
2018-12-27 08:27:03 +01:00
color=#999999
2017-09-20 17:23:24 +02:00
# Battery indicator
# The battery instance defaults to 0.
[battery2]
command=python ~/.config/i3/scripts/blocks/battery
markup=pango
2017-09-20 17:23:24 +02:00
interval=30
separator=true
2018-12-27 08:27:03 +01:00
color=#999999
2017-09-20 17:23:24 +02:00
# Date Time
[time]
label=
2017-09-20 17:23:24 +02:00
command=date '+%Y-%m-%d %H:%M:%S'
interval=1
separator=true
2018-12-27 08:27:03 +01:00
color=#999999