Skip to content

Instantly share code, notes, and snippets.

@ErnestasJa
Created December 29, 2015 22:08
Show Gist options
  • Save ErnestasJa/3bad00a78426c1aa6dbf to your computer and use it in GitHub Desktop.
Save ErnestasJa/3bad00a78426c1aa6dbf to your computer and use it in GitHub Desktop.
Basic
======
[Shift]+[Mod]+[Enter] - launch terminal.
[Mod]+[b] - show/hide bar.
[Mod]+[p] - dmenu for running programs like the x-www-browser.
[Mod]+[Enter] - toggles windows between master and stack.
[Shift]+[Mod]+[2] - to move window to the 2 tag.
[Shift]+[Mod]+[0] - make focused window appear on all tags.
[Mod]+[2] - moves your focus to tag 2.
[Shift]+[Mod]+[c] - to kill a window.
[Shift]+[Mod]+[q] - to quit dwm cleanly.
Layout Modes
============
[Mod]+[t] - tiled mode. []=
[Mod]+[f] - floating mode. ><>
[Mod]+[m] - monocle mode. [M]
Floating
========
[Mod]+[R M B] - to resize the floating window.
[Mod]+[L M B] - to move the floating window around.
[Mod]+[Space] - to change the layout into floating mode.
[Mod]+[Shift]+[Space] - to make an individual window float.
[Mod]+[M M B] - to make an individual window un-float.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment