Keybindings

These are the default keybindings to get you started.

Window Management (dwm) ~

If your keyboard has an AZERTY layout, uncomment the AZERTY keybindings in my dwm build's config.def.h and comment the QWERTY ones.

General
Mod+q Close window.
Mod+Q Restart window manager (dwm).
Mod+[arrow-keys] Cycle through windows by relative position.
Mod+j or Mod+k Cycle through windows by stack order.
Mod+f Toggle fullscreen.
Mod+b Toggle statusbar.
Mod+B Toggle statusbar position.
Window Layouts
Mod+t Tiling mode (default).
Mod+y Bottomstack mode.
Tiling Windows
Mod+Shift+[arrow-keys] Change focused window's position.
Mod+h/l or Mod+Shift+[left+click] Decrease or increase window's width.
Mod+d or Mod+i Decrease or increase number of master windows (with a maximum of 3).
Floating Windows
Mod+space or Mod+[middle-click] Float window.
Mod+[left-click] Move floating window.
Mod+[right-click] Resize floating window.
Gaps
Mod+Shift+0 Toggle gaps.
Mod+z/x or Mod+[scroll] Decrease or increase gaps.
Mod+0 Revert gaps to default value.
Tags
Mod+[1-5] or [left-click] (on tag) Switch to tag.
Mod+Shift+[1-5] Send window to tag.
Mod+s Sticky window.
Monitors
Mod+, or Mod+. Change focus to previous or next monitor.
Mod+Shift+, or Mod+Shift+. Send window to previous or next monitor.

Statusbar (dwmblocks) ~

Clock (sb-clock)
[right-click] Show today's date in a notification.
Internet Network (sb-internet)
[right-click] Spawn nmtui on terminal.
Recording Status (sb-record)
[left-click] Stop recording.
Volume Level (sb-volume)
[left-click] Mute volume.
[right-click] Spawn pulsemixer on terminal.
[scroll] Decrease or increase volume by 1%.

Spawn Program ~

Mod+Enter Terminal (alacritty).
Menu Menu (rofi).
Mod+Menu File manager (lf).

System ~

[volume-down] or [volume-up] Decrease or increase volume by 5%.
[volume-mute] Mute the volume.
[brightness-down] or [brightness-up] Decrease or increase brightness by 2%.
Mod+F5 Wallpaper changer (wallpaper).
Mod+Shift+F5 Random wallpaper changer (wallpaper --random).
Mod+Escape Lock screen (slock).

Music (mpd) ~

[audio-play] Play or pause song.
[audio-previous] or [audio-next] Play previous or next song in current playlist.
[audio-stop] Stop playback.

Capture ~

Print Screenshot region (screenshot --region).
Shift+Print Screenshot screen (screenshot --screen).
Mod+Print Screen recorder (record).
Mod+Delete Stop recording (record --stop).

Programs ~

Image Viewer (nsxiv) ~

General
q Quit.
Enter Switch mode (or output image and exit in case -d is used).
Escape or Ctrl+Enter Switch mode.
f Toggle fullscreen.
b Toggle status bar.
g Go to first image.
G Go to last image (or nth if specified).
r Reload image.
Ctrl+r Go to a random image.
+/− or Add/Subtract Zoom in or out.
Image Mode
Left/Right Previous or next image.
n or p Next or previous animation frame.
space Toggle animation.
Ctrl+[arrow-keys] Scroll image.
i Invert colors.
a Toggle anti-aliasing.
s Toggle slideshow.
=, Backspace, Tab Scale image (down, fit, fill).
Thumbnail Mode
[arrow-keys] Move selection.
Ctrl+[arrow-keys] Move a page.