Customize i3wm to clean your desktop

i3 is a tiling window manager, completely written from scratch. The target platforms are GNU/Linux and BSD operating systems, our code is Free and Open Source Software (FOSS) under the BSD license. i3 is primarily targeted at advanced users and developers.

i3wm - Fully configured

i3. The improved tiling wm

Online resources:

First, you must install the i3wm package in your distribution.

$ sudo apt install i3 i3status dmenu i3lock xbacklight feh # for Ubuntu/Debian users
$ sudo dnf install i3 i3status dmenu i3lock xbacklight feh # for Fedora users

You also need to install Font Awesome from fontawesome.io to have beautiful icons in the bar.

$ mkdir ~/.fonts
$ cd ~/Downloads/
$ unzip font-awesome-4.7.0
$ cp font-awesome-4.7.0/fonts/*.ttf ~/.fonts

Then, grab config files from my GitHub.

To fit my configuration files, you need also Rofi and i3blocks. So, grab it at Rofi GitHub and i3blocks GitHub. On Fedora you must compile the sources, but on Debian based distro, you can only give command on terminal:


$ sudo apt install rofi i3blocks

On Fedora systems, you must install mpstat to make the [cpu_usage] script working.


$ sudo dnf install sysstat

On Fedora 26 Alpha, I also needed to change the default blocks location in the i3blocks config:


command=/usr/local/libexec/i3blocks/$BLOCK_NAME

Finally, play with i3 and have fun.

Note on multi-monitors configuration

If you need to put workspaces on a specific monitor. First, find your how your monitors are named:


$ xrandr -q

Then, adjust your i3 config file:


# bind workspaces to the right monitors
workspace $workspace1 output HDMI1
workspace $workspace2 output HDMI1
workspace $workspace3 output HDMI1
workspace $workspace4 output HDMI1
workspace $workspace5 output HDMI1
workspace $workspace10 output eDPI1