Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


bpswm

~~TOC~~

BSPWM - tiling window manager

Installation

  • Clone bspwm and sxhkd:
    git clone https://github.com/baskerville/bspwm.git
    git clone https://github.com/baskerville/sxhkd.git
  • Install prerequisite packages:
    sudo dnf install xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel alsa-lib-devel dmenu rxvt-unicode terminus-fonts
  • Install development tools:
    sudo dnf groupinstall "Development Tools"
  • Compile and install bspwm and sxhkd:
    cd bspwm
    make
    sudo make install
    cd ..
    
    cd sxhkd
    make
    sudo make install

Initial (example) configration sxhkd and bspwm

  • Copy example configuration:
    mkdir ~/.config/sxhkd
    cp bspwm/examples/sxhkdrc ~/.config/sxhkd/sxhkdrc
    
    
    mkdir ~/.config/bspwm
    cp bspwm/examples/bspwmrc ~/.config/bspwm/bspwmrc

Configure display mananger

  • Copy desktop icon:
    sudo cp bspwm/contrib/freedesktop/bspwm.desktop /usr/share/xsessions/
  • When you log back on, click the “gear” icon and select 'bspwm'

Lock screen

  • Install xscreensaver:
    sudo dnf install xscreensaver
  • Be aware that this installation will also autostart xscreensaver from /etc/xdg/autostart/xscreensaver-autostart.desktop
  • Add xscreensaver to bspwm config:
    xscreensaver &
  • Add xscreensaver to sxhkd config:
    # Lock screen
    super + alt + l
            xscreensaver-command -lock
  • Reload sxhkd: super+escape
  • Configure xscreensaver (or edit .xscreensaver):
    xscreensaver-command --prefs

Customization

URXVT

  • Choose a font with: xfontsel (X11 fonts) or gtk2fontsel (xft fonts).
  • Put those in ~/.Xresources, for example:
    URxvt*font:			-xos4-terminus-*-*-*-*-28-*-*-*-*-*-*-*
bpswm.txt · Last modified: 2016/07/01 08:58 by admin