Created
March 4, 2014 04:32
-
-
Save vivien/9340347 to your computer and use it in GitHub Desktop.
Custom separator trick for i3blocks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We use the global settings as a shortcut to define our own separator. | |
# Based on the default i3blocks config file. | |
full_text=〉 | |
align=center | |
color=#666666 | |
separator=false | |
separator_block_width=7 | |
[volume] | |
command=/usr/libexec/i3blocks/volume | |
color=#6D6DFF | |
signal=10 | |
[separator] | |
[memory] | |
command=/usr/libexec/i3blocks/memory | |
color=#FFFFFF | |
separator_block_width=13 | |
interval=30 | |
[swap] | |
command=/usr/libexec/i3blocks/memory swap | |
color=#FFFFFF | |
interval=30 | |
[separator] | |
[disk-home] | |
command=/usr/libexec/i3blocks/disk $HOME | |
color=#FFFFFF | |
interval=30 | |
[separator] | |
[wireless] | |
command=/usr/libexec/i3blocks/network wlan0 W | |
color=#00FF00 | |
interval=10 | |
[separator] | |
[ethernet] | |
command=/usr/libexec/i3blocks/network eth0 E | |
color=#00FF00 | |
interval=10 | |
[separator] | |
[cpu] | |
command=/usr/libexec/i3blocks/cpu | |
color=#FFFFFF | |
interval=10 | |
[separator] | |
[battery] | |
command=/usr/libexec/i3blocks/battery BAT0 | |
color=#FFFFFF | |
interval=30 | |
[separator] | |
[time] | |
command=date '+%Y-%m-%d %H:%M:%S' | |
color=#6EFF6E | |
interval=5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you include a
full_text=
in each useful block it prevents your separator being used when the block has no ouput.