Files
i3blocks/config
2025-12-04 19:12:13 +01:00

47 lines
844 B
Plaintext

# i3blocks configuration file
#
# The i3blocks man page describes the usage of the binary,
# and its website describes the configuration:
#
# https://vivien.github.io/i3blocks
# Global properties
separator=true
separator_block_width=15
[Volume]
command=echo "$(wpctl get-volume @DEFAULT_SINK@ 2>/dev/null | grep -q 'MUTED' && echo '' || echo '') $(wpctl get-volume @DEFAULT_SINK@ 2>/dev/null | grep -Eo ' \S*' | head -n 1)%" | tr -d . | sed "s/ 0/ /g"
interval=10
[Brightness]
command=echo "100*$(brightnessctl g)/$(brightnessctl m)" | bc | sed "s/$/%/g"
label=󰃠
interval=10
[Iface]
command=./iface
color=#98971a
interval=10
[Wifi]
command=./wifi
label=
interface=wlp1s0
interval=10
[Cpu]
command=./cpu_usage
label=
interval=10
[Battery]
command=./battery
interval=30
[Time]
command=date
label=
interval=1