Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 1.04 KB

README.md

File metadata and controls

56 lines (46 loc) · 1.04 KB

dwm

Suckless dwm configuration and customization

dwm version: 6.2

Installation

# cd /usr/src
# git clone git://git.suckless.org/dwm

Most prominent changes in config.def.h

  • Terminus font
static const char *fonts[]          = { "xos4 Terminus:size=15" };
static const char dmenufont[]       = "xos4 Terminus:size=15";
  • Gray color
static const char col_cyan[]        = "#696969";
  • Floating Layout icon: from '><>' to '(~)'
     { "(~)",      NULL },    /* no layout function means floating behavior */
  • MODKEY definition
#define MODKEY Mod4Mask
  • Keys customization
    { MODKEY,           XK_Return,    spawn,          {.v = termcmd } },    
    ...
    { MODKEY,           XK_BackSpace, zoom,           {0} },

Patches

# mkdir /usr/src/dwm/patches
# cd /usr/src/dwm/patches
  • Vanitygaps (adds gaps between windows):
# wget https://dwm.suckless.org/patches/vanitygaps/dwm-vanitygaps-20190508-6.2.diff

How to patch:

# cd /usr/src/dwm
# patch < patches/patchname.diff