83 lines
1.3 KiB
Plaintext
83 lines
1.3 KiB
Plaintext
# 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=python3 $BLOCKS/$BLOCK_NAME.py $BLOCK_BUTTON $BLOCK_INSTANCE
|
|
separator_block_width=10
|
|
markup=none
|
|
|
|
# [cmus]
|
|
# label=
|
|
# interval=10
|
|
|
|
# [test]
|
|
# interval=once
|
|
# command=$BLOCKS/test
|
|
|
|
# [pacman_updates]
|
|
# label=
|
|
# command=checkupdates | wc -l
|
|
# interval=3600
|
|
|
|
# [aur_updates]
|
|
# label=
|
|
# command=pacaur -k | wc -l
|
|
# interval=3600
|
|
|
|
[load]
|
|
label=
|
|
command=cat /proc/loadavg | cut -d " " -f 1
|
|
interval=5
|
|
|
|
[volume]
|
|
label=
|
|
command=/usr/libexec/i3blocks/volume
|
|
interval=once
|
|
|
|
# [wifi]
|
|
# label=
|
|
# interval=10
|
|
|
|
[wifi-status]
|
|
label=
|
|
command=wpa_cli status | grep ^wpa_state= | cut -d "=" -f 2
|
|
interval=10
|
|
|
|
[wifi]
|
|
command=wpa_cli status | grep ^ssid= | cut -d "=" -f 2
|
|
interval=10
|
|
|
|
# [battery]
|
|
# interval=10
|
|
|
|
[battery]
|
|
label=
|
|
command=cat /sys/class/power_supply/BAT0/capacity
|
|
interval=10
|
|
|
|
[date]
|
|
command=date +%c
|
|
interval=1
|