Skip to content
Marco Peereboom edited this page May 2, 2016 · 27 revisions

spectrwm Configuration

The first step to configuring spectrwm is to create the ~/.spectrwm.conf file. In your .spectrwm.conf file you are able to easily configure keyboard shortcuts and the look of spectrwm.

To set up a program use the following lines ` program[www] = firefox #the command to be run bind[www] = MOD+w #the keyboard shortcut to run the command. ` for the base configurations look at the file `/ect/spectrwm.conf`.

    • looks**
The look of spectrwm can be customized in a myriad of ways. To customize the top bar edit `bar_format` in your `~/.spectrwm.conf`. To pipe conky into your bar see the arch wiki write up (https://wiki.archlinux.org/index.php/Spectrwm#Conky).

To change the background in X you can use `feh --bg-scale ~/path/to/image.jpg`. To enable gaps use the following lines in ~/.spectrwm.conf

  • region_padding = 10
  • tile_gap = 10
Clone this wiki locally