20 lines
509 B
Plaintext
20 lines
509 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
|
|
|
|
|
|
[layout]
|
|
command=if [[ $(xset -q | grep LED | awk '{ print $10 }') -eq 00000000 ]]; then echo "dvorak-alt-intl"; elif [[ $(xset -q | grep LED | awk '{ print $10 }') -eq 00001000 ]] then echo "de"; else echo "unknown"; fi
|
|
interval=once
|
|
signal=10
|
|
color=#825af0
|
|
|
|
[time]
|
|
command=date '+%Y-%m-%d %H:%M:%S'
|
|
interval=1
|
|
color=#e85a00
|
|
|