Skip to main content
Topic: How to install BSPWM (Read 2020 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to install BSPWM

What is bspwm
Bspwm is a tiling window manager that represents windows as the leaves of a full binary tree. It supports multiple monitors and is highly configurable. It dont handle any keyboard/pointer inputs, so a third party program is needed. In this installation, we will be using sxhkd, because its oficially supported and is easy to use.

For more information, plase consulte their github page [https://github.com/baskerville/bspwm]

Requirements
sxhkd
xorg
urxvt (
terminal, but you can use any you like)
dmenu (for the app launcher, but you can use any you like)
ttf-dejavu (or any other font)

Installing
We will install all the files through pacman
Code: [Select]
 pacman -S bspwm sxhkd xorg xorg-xinit dmenu ttf-dejavu 
To  install urxvt, you need to enable the ArchLinux Repository

bspwm and sxhkd needs a configuration to run, the examples can be found in

Quote
/usr/share/doc/bspwm/examples/bspwm/bspwmrc
/usr/share/doc/bspwm/examples/bspwm/sxhkdrc
So

Quote
mkdir -p $HOME/.config/bspwm && mkdir $HOME/.config/sxhkd && cp /usr/share/doc/bspwm/examples/bspwm/bspwmrc $HOME/.config/bspwm && cp /usr/share/doc/bspwm/examples/bspwm/sxhkdrc $HOME/.config/sxhkd
Launching
Xinit needs a config file named ".xinitrc", so we create it by running:
Quote
printf "sxhkd &\nexec bspwm" > $HOME/.xinitrc
and run the X session
Quote
startx
Voala!I Bspwm should be working

dinit