I3blocks: Difference between revisions
(→Config) |
(→Config) |
||
Line 22: | Line 22: | ||
.config/i3blocks/config | .config/i3blocks/config | ||
With i3blocks-contrib stupid layout, your commands need to look like this: | With i3blocks-contrib stupid layout, your commands need to look like this, eg: | ||
[volume] | [volume] | ||
command=$SCRIPT_DIR/volume/volume | command=$SCRIPT_DIR/volume/volume | ||
I like a space after the label. To do that, add ONLY a space after the unicode symbol, eg: | |||
label=♪ |
Revision as of 15:52, 7 April 2020
Installation
Get it from github:
cd ~/apps git clone [email protected]:vivien/i3blocks.git cd i3blocks ./autogen.sh ./configure make make install cd ~/.config git clone [email protected]:vivien/i3blocks-contrib.git i3blocks cd i3blocks && cp config.example config
Then update the status_command in your i3 config:
status_command SCRIPT_DIR=~/.config/i3blocks /usr/local/bin/i3blocks
Config
There are tons of dotfiles out there. Edit mine here:
.config/i3blocks/config
With i3blocks-contrib stupid layout, your commands need to look like this, eg:
[volume] command=$SCRIPT_DIR/volume/volume
I like a space after the label. To do that, add ONLY a space after the unicode symbol, eg:
label=♪