nixpkgs/home/files/i3-blocks
Daniel Siepmann eb3282b453
Add replacement for i3 battery
The module doesn't work or exist anymore.
I use a lightwight battery icon instead which I add as a service to
start during login.

And I don't need the wifi thingy.
2022-05-19 07:18:51 +02:00

49 lines
919 B
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.
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=date '+📅 %a %Y-%m-%d %H:%M:%S'; date '+📅 %a %d. %H:%M:%S'
interval=1
# vi: ft=conf