personal fork
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
revol-xut a4240a422b
flake clean up
1 year ago
.gitignore increased font size for dwmblocks 1 year ago
LICENSE Revert "Prepare 6.2 release." 1 year ago
Makefile testing makefile 1 year ago
README.md new colors and smaller font 1 year ago
config.def.h increased font size for dwmblocks 1 year ago
config.mk added lxcb-res 1 year ago
drw.c added my config unoptimized 1 year ago
drw.h ColBorder has been moved to the enum with ColFg and ColBg. 5 years ago
dwm.1 dwm.1: fix wrong text in man page 2 years ago
dwm.c removed picom from statup 1 year ago
dwm.png alternate dwm.png 16 years ago
flake.lock fixed flake.nix 1 year ago
flake.nix flake clean up 1 year ago
layouts.c attempt bug fix tile 1 year ago
shiftview.c added my config unoptimized 1 year ago
transient.c applied Peter Hartlichs nice interim Xinerama and map fix patches, for debugging purposes I also added his transient test driver 11 years ago
util.c die() on calloc failure 6 years ago
util.h import new drw from libsl and minor fixes. 6 years ago

README.md

dwm - dynamic window manager

dwm is an extremely fast, small, and dynamic window manager for X. This is an fork and adapted version which contains my keybindings and settings.

Contact: revol-xut@protonmail.com

Requirements

In order to build dwm you need the Xlib header files.

Installation

Edit config.mk to match your local setup (dwm is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install dwm (if necessary as root):

make clean install

Running dwm

Add the following line to your .xinitrc to start dwm using startx:

exec dwm

In order to connect dwm to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.:

DISPLAY=foo.bar:1 exec dwm

(This will start dwm on display :1 of the host foo.bar.)

In order to display status info in the bar, you can do something like this in your .xinitrc:

while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
do
    sleep 1
done &
exec dwm

Configuration

The configuration of dwm is done by creating a custom config.h and (re)compiling the source code.

Keybindings

Commandkeys: Windows

Workspaces

  • 0-9: Workspaces
  • Tab or backslash: last workspace
  • g: iterating through workspaces right -> left
  • ;: iterating through workspaces left -> right

Layouts

  • t: tile layout
  • Shift + t: bstack
  • y: spiral
  • Shift + y: dwindle
  • u: deck
  • Shift + u: monocle
  • i: centermaster
  • Shift + u: centeredfloatingmaster
  • o: Horizontal
  • Shift: Vertical

Window

  • q: kill window
  • s: toggle sticky
  • f: fullscrean
  • h: increase window size to left
  • l: increse window sie to right
  • Enter: summon terminal
  • Shift + Enter: floating terminal

Window Movement

  • Shift + f: free float
  • Shift + g: move current window to left workspace
  • Shift + ;: move current window to right workspace
  • Space: switch top most windows on stack

Gaps

  • a: toggle gaps
  • Shift + a: default gaps
  • z: increase gaps
  • x: decrease gaps

Statusbar

  • b: toggle statusbar