Skip to content

Latest commit

 

History

History
68 lines (53 loc) · 3.39 KB

dwm-cheatsheet.org

File metadata and controls

68 lines (53 loc) · 3.39 KB

DWM Cheatsheet

Simple cheatsheet explaining the keybinds used in my own DWM build. See config.def.h.

Keybinds

Changing the current window

KeybindAction
Alt+Shift+cKill current window.
Alt+TabSwitch to next window.
Alt+.Switch to next monitor.
=Alt+,=Switch to previous monitor.
Alt+Shift+0Make your current window appear in all workspaces.
Alt+Shift+1..9Move current window to workspace N.
Alt+Shift+.Move current window to next monitor.
=Alt+Shift+,=Move current window to previous monitor.

Change window layout

KeybindAction
Alt+tChange layout mode to tile (Default).
Alt+fChange layout mode to floating.
Alt+mChange layout mode to monocle (Fullscreen).
Alt+Shift+SpaceToggle floating for the current window.
Alt+hDecrease the main region (<-)
Alt+lIncrease the main region (->)
Alt+EnterMove current window to the main region.

Changing workspaces

KeybindAction
Alt+0Go to the All workspace. Shows all your active windows.
Alt+1..9Change to workspace N.

Spawning

KeybindAction
Alt+pSpawn the Execute menu (Uses dmenu_run).
Alt+Shift+EnterOpen a terminal. In my case, st.
Alt+Shift+qLaunch dwm-quit-menu.

Misc.

KeybindAction
Alt+bToggle top bar display.
Alt+F12Take a screenshot of the selected region, and save it to ~ and to clipboard. Requires maim.
Alt+Shift+F12Take a screenshot of the whole screen, and save it to ~ and to clipboard. Requires maim.
Alt+Shift+lLock screen. Requires slock.

Macro meanings

These are the meanings of the macros that are used in the config.

Config nameKey
MODKEYAlt
MODKEY (OR) ShiftMaskAlt+Shift
XK_xx
XK_F1..XK_F12F1..F12