Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Basic
=====
[Shift]+[Mod]+[Enter] - launch terminal.
[Mod]+[b] - show/hide bar.
[Mod]+[p] - dmenu for running programs like the x-www-browser.
[Mod]+[Enter] - push acive window from stack to master, or pulls last used window from stack onto master.
[Mod] + [j / k] - focus on next/previous window in current tag.
[Mod] + [h / l] - increases / decreases master size.
Navigation
==========
[Mod]+[2] - moves your focus to tag 2.
[Shift]+[Mod]+[2] - move active window to the 2 tag.
[Mod] + [i / d] - increases / decreases number of windows on master
[Mod] + [, / .] - move focus between screens (multi monitor setup)
[Shift]+[Mod]+[, / .] - move active window to different screen.
[Mod]+[0] - view all windows on screen.
[Shift]+[Mod]+[0] - make focused window appear on all tags.
[Shift]+[Mod]+[c] - kill active window.
[Shift]+[Mod]+[q] - quit dwm cleanly.
Layout
======
[Mod]+[t] - tiled mode. []=
[Mod]+[f] - floating mode. ><>
[Mod]+[m] - monocle mode. [M] (single window fullscreen)
Floating
========
[Mod]+[R M B] - to resize the floating window.
[Mod]+[L M B] - to move the floating window around.
[Mod]+[Space] - toggles to the previous layout mode.
[Mod]+[Shift]+[Space] - to make an individual window float.
[Mod]+[M M B] - to make an individual window un-float.
@5k3lly

This comment has been minimized.

Copy link

@5k3lly 5k3lly commented Jan 21, 2020

On mine [Mod]+[Space] toggles previous layout mode.

@IgnisOwl

This comment has been minimized.

Copy link

@IgnisOwl IgnisOwl commented Feb 7, 2021

On mine [Mod]+[Space] toggles previous layout mode.

Same here

@erlendaakre

This comment has been minimized.

Copy link
Owner Author

@erlendaakre erlendaakre commented Feb 7, 2021

oh, snap. will update that now

@Joilnen

This comment has been minimized.

Copy link

@Joilnen Joilnen commented Mar 1, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment