i3 Ricing Setup

i3 config file, refresh i3 shift mod r

i3 Blocks

Adds custom items to the i3 tool bar such as sound, cpu usage, date&time, ect.
See this video for a detailed guide.

  1. Install command: sudo pacman -S i3blocks
  2. Find the 'bar {}' line in ~/.config/i3/config and change it to this:
     bar { 
          status_command SCRIPT_DIR=~/.config/i3blocks/scripts i3blocks 
          position top 
     colors { 
            statusline         #ffffff 
            background         #000000 
            focused_workspace  #ffffff #ffffff #000000 
            inactive_workspace #000000 #000000 #ffffff 
           } 
     } 
  3. "mkdir ~/.config/i3blocks"
  4. @ '~/.config/i3blocks' run "git clone https://github.com/vivien/i3blocks-contrib.git"
  5. @ '~/.config/i3blocks' run "mv i3blocks-contrib scripts"
  6. @ '~/.config/i3blocks/scripts' run "cp config.example ../config"
  7. To add scripts from the i3blocks config (~/.config/i3blocks/config) add the line "command=$SCRIPT_DIR/$BLOCK_NAME/$BLOCK_NAME" to the 'block' you want to add to the bar.

    Example config for memory block:
     [memory]
     command=$SCRIPT_DIR/memory/memory 
     label=MEM 
     seperator=true 
     interval=5 
     color=#ffffff