dotfiles/i3/.config/i3blocks/config

31 lines
598 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
[documentation]
full_text=Documentation
website=https://vivien.github.io/i3blocks
command=xdg-open "$website"
color=#f12711
[tailscale]
command=echo TS: $(ip a show tailscale0 | rg "inet (\d+\.\d+\.\d+\.\d+)" -or '$1')
interval=30
[greetings]
color=#f5af19
command=echo "Hello, $USER!"
interval=once
[time]
command=date '+%Y-%m-%d %H:%M:%S'
interval=1