2022-02-07 08:45:08 +01:00
|
|
|
# i3blocks config file
|
|
|
|
#
|
2022-06-15 18:17:23 +02:00
|
|
|
# TODO: Use nix to reload the blocks on config change
|
|
|
|
#
|
2022-02-07 08:45:08 +01:00
|
|
|
# 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.
|
|
|
|
markup=pango
|
|
|
|
|
|
|
|
# Versions for development
|
|
|
|
[php_version]
|
|
|
|
label=🐘
|
|
|
|
command=
|
|
|
|
command=echo "$(php --version | head -1 | cut -d' ' -f2 | cut -d'.' -f1,2)"
|
|
|
|
interval=once
|
|
|
|
signal=10
|
|
|
|
|
|
|
|
[xdebug]
|
|
|
|
label=🤸
|
|
|
|
command=[ -L /etc/php/8.0/cli/conf.d/20-xdebug.ini ] && echo "yes" || echo "no"
|
|
|
|
interval=once
|
|
|
|
signal=10
|
|
|
|
|
|
|
|
# Date Time
|
|
|
|
[time]
|
2022-06-15 18:17:23 +02:00
|
|
|
command=LC_TIME=en_US.utf8 date '+📅 %a %B %Y-%m-%d %H:%M:%S'; date '+📅 %a %d. %H:%M:%S'
|
2022-04-14 13:58:27 +02:00
|
|
|
interval=1
|
2022-02-07 08:45:08 +01:00
|
|
|
|
|
|
|
# vi: ft=conf
|