# DWM Keybindings MODKEY = Super (Mod4) ## Applications | Binding | Action | |---------|--------| | Super + Return | Terminal (st) | | Super + Shift + Return | Terminal (st) | | Super + d | dlaunch (app launcher) | | Super + b | dbrowse (browser picker) | | Super + w | tome -dmenu -edit | | Super + e | tome -dmenu -data | | Super + c | tome -dmenu -create | | Super + n | dnotes | | Super + p | passmenu | | Super + y | dtime | | Super + m | dmode | | Super + a | questions | | Super + z | dsnip | | Super + / | dkymap (keymap viewer) | | Super + Shift + c | dclip (clipboard manager) | | Super + Shift + n | newsboat (in st) | | Super + r | record | ## Screenshots and Recording | Binding | Action | |---------|--------| | Print | snip (screenshot select) | | Shift + Print | snip full (fullscreen screenshot) | | Super + Print | record | | Super + Shift + Print | record -stop | | Super + s | snip (screenshot select) | | Super + Shift + s | snip full (fullscreen screenshot) | ## Audio and Brightness | Binding | Action | |---------|--------| | XF86AudioLowerVolume | Volume down 5% | | XF86AudioRaiseVolume | Volume up 5% | | XF86AudioMute | Toggle mute | | Super + Shift + m | Toggle mute | | XF86MonBrightnessUp | Brightness up 5 | | XF86MonBrightnessDown | Brightness down 5 | ## System | Binding | Action | |---------|--------| | Super + BackSpace | sysact (system actions menu) | | Super + Shift + q | sysact (system actions menu) | | Super + q | Kill focused window | | Super + Ctrl + Shift + q | Quit dwm (restart signal) | ## Window Focus (Stacker) | Binding | Action | |---------|--------| | Super + j | Focus next in stack | | Super + k | Focus previous in stack | | Super + s | Focus previously selected | | Super + w | Focus first client | | Super + e | Focus second client | | Super + a | Focus third client | | Super + z | Focus last client | | Super + Shift + j | Push window down in stack | | Super + Shift + k | Push window up in stack | Note: Some stacker bindings overlap with application bindings (Super+w, Super+e, Super+a, Super+z, Super+s). The application spawn bindings are listed first in config.h and take priority. ## Master/Stack Sizing | Binding | Action | |---------|--------| | Super + h | Decrease master factor | | Super + l | Increase master factor | | Super + Shift + h | Increase client factor (cfacts) | | Super + Shift + l | Decrease client factor (cfacts) | | Super + Shift + o | Reset client factor | | Super + Return | Zoom (promote to master) | ## Layouts | Binding | Action | |---------|--------| | Super + t | Tile layout []= | | Super + f | Floating layout ><> | | Super + i | Reading mode (RRR layout, index 14) | | Super + Shift + r | Reading mode (RRR layout, index 14) | | Super + Space | Toggle last layout | | Super + Shift + Space | Toggle floating for focused window | ## Tags (Workspaces) Applies to tags 1-9. | Binding | Action | |---------|--------| | Super + [1-9] | View tag N | | Super + Ctrl + [1-9] | Toggle view of tag N | | Super + Shift + [1-9] | Move window to tag N | | Super + Ctrl + Shift + [1-9] | Toggle tag N on window | | Super + 0 | View all tags | | Super + Shift + 0 | Tag window on all tags | | Super + Tab | View previous tag | ## Tag Navigation | Binding | Action | |---------|--------| | Super + Shift + Left | Shift tag left | | Super + Shift + Right | Shift tag right | | Super + Shift + Tab | Shift view left | | Super + Shift + \ | Shift view right | ## Monitor Navigation | Binding | Action | |---------|--------| | Super + , (comma) | Focus previous monitor | | Super + . (period) | Focus next monitor | | Super + Left | Send window to left monitor | | Super + Right | Send window to right monitor | | Super + Up | Send window to upper monitor | | Super + Down | Send window to lower monitor | ## Gaps (Vanitygaps) | Binding | Action | |---------|--------| | Super + Mod4 + u | Increase all gaps | | Super + Mod4 + Shift + u | Decrease all gaps | | Super + Mod4 + i | Increase inner gaps | | Super + Mod4 + Shift + i | Decrease inner gaps | | Super + Mod4 + o | Increase outer gaps | | Super + Mod4 + Shift + o | Decrease outer gaps | | Super + Mod4 + 6 | Increase inner horizontal gaps | | Super + Mod4 + Shift + 6 | Decrease inner horizontal gaps | | Super + Mod4 + 7 | Increase inner vertical gaps | | Super + Mod4 + Shift + 7 | Decrease inner vertical gaps | | Super + Mod4 + 8 | Increase outer horizontal gaps | | Super + Mod4 + Shift + 8 | Decrease outer horizontal gaps | | Super + Mod4 + 9 | Increase outer vertical gaps | | Super + Mod4 + Shift + 9 | Decrease outer vertical gaps | | Super + Mod4 + 0 | Toggle gaps | | Super + Mod4 + Shift + 0 | Reset gaps to default | ## Scratchpad | Binding | Action | |---------|--------| | Super + ` (grave) | Toggle scratchpad | | Super + Ctrl + ` | Set scratchpad | | Super + Shift + ` | Remove scratchpad | ## Rio Draw | Binding | Action | |---------|--------| | Super + Ctrl + p | Rio spawn sync (dmenu) | | Super + Ctrl + Return | Rio spawn (terminal) | | Super + Ctrl + s | Rio resize | ## Cycle Layouts | Binding | Action | |---------|--------| | Super + Ctrl + , | Previous layout | | Super + Ctrl + . | Next layout | ## Xresources | Binding | Action | |---------|--------| | Super + Shift + F5 | Reload Xresources | ## Floatpos (Mod3 = Hyper) ### Move (within monitor) | Binding | Action | |---------|--------| | Mod3 + u/i/o | Move NW / N / NE | | Mod3 + j/l | Move W / E | | Mod3 + m/,/. | Move SW / S / SE | ### Move (absolute, between monitors) | Binding | Action | |---------|--------| | Mod3 + Ctrl + u/i/o/j/l/m/,/. | Absolute position move | ### Resize (from center) | Binding | Action | |---------|--------| | Mod3 + Shift + u/i/o | Resize NW / N / NE | | Mod3 + Shift + j/l | Resize W / E | | Mod3 + Shift + k | Set to 800x800 | | Mod3 + Shift + m/,/. | Resize SW / S / SE | ### Grid position | Binding | Action | |---------|--------| | Mod3 + Alt + u/i/o/j/k/l/m/,/. | Grid-relative position |