I3blocks: Difference between revisions

From Bitpost wiki
No edit summary
Line 4: Line 4:


  cd ~/apps
  cd ~/apps
git clone https://github.com/vivien/i3blocks
  git clone [email protected]:vivien/i3blocks.git
  git clone [email protected]:vivien/i3blocks-contrib.git
  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
cd i3blocks && cp config.example config


Then update your i3 config:
Then update the status_command in your i3 config:
     status_command SCRIPT_DIR=~/apps/i3blocks-contrib /usr/local/bin/i3blocks
     status_command SCRIPT_DIR=~/.config/i3blocks /usr/local/bin/i3blocks


=== Config ===
=== Config ===

Revision as of 15:49, 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