# i3blocks config file # # TODO: Use nix to reload the blocks on config change # # 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] command=LC_TIME=en_US.utf8 date '+📅 %a %B %Y-%m-%d %H:%M:%S'; date '+📅 %a %d. %H:%M:%S' interval=1 # vi: ft=conf