I3blocks: Difference between revisions
No edit summary |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
cd ~/apps | cd ~/apps | ||
git clone [email protected]:vivien/i3blocks.git | |||
git clone [email protected]:vivien/i3blocks | |||
cd i3blocks | cd i3blocks | ||
./autogen.sh | ./autogen.sh | ||
Line 11: | Line 10: | ||
make | make | ||
make install | make install | ||
cd ~/.config | |||
git clone [email protected]:vivien/i3blocks-contrib.git i3blocks | |||
Then update your i3 config: | Set up and stow your i3blocks config file: | ||
cd ~/development/config/ubuntu | |||
cp case/.config/i3blocks/config #newmachine#/.config/i3blocks/ | |||
git add #newmachine#/.config/i3blocks/config | |||
setup_stow.sh | |||
Then update the status_command in your i3 config: | |||
status_command SCRIPT_DIR=~/.config/i3blocks /usr/local/bin/i3blocks | |||
=== Config === | === Config === | ||
Line 19: | Line 26: | ||
There are tons of dotfiles out there. Edit mine here: | There are tons of dotfiles out there. Edit mine here: | ||
.config/i3blocks/config | .config/i3blocks/config | ||
With the newer config of separated scripts in i3blocks-contrib, your commands need to look like this, eg: | |||
[volume] | |||
command=volume/volume | |||
I like a space after the label. To do that, add ONLY a space after the unicode symbol, eg: | |||
label=♪[__one_space__] |
Latest revision as of 16:33, 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
Set up and stow your i3blocks config file:
cd ~/development/config/ubuntu cp case/.config/i3blocks/config #newmachine#/.config/i3blocks/ git add #newmachine#/.config/i3blocks/config setup_stow.sh
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 the newer config of separated scripts in i3blocks-contrib, your commands need to look like this, eg:
[volume] command=volume/volume
I like a space after the label. To do that, add ONLY a space after the unicode symbol, eg:
label=♪[__one_space__]