How larpmachine/svindwmrice88 works
This repository is a customized dwm X11 window manager. Its main workflow is keyboard-driven window and workspace management, with layout and bar state rendered to the desktop; optional patches add tray support, gaps, and restart-state persistence. Source excerpts show the X event loop, key bindings, drawing helpers, and several patches. Other patch relationships are limited to the explicit inclusion wiring in patch/include.c; unsampled implementation details are not inferred.
Main entry points: include.c Patch integration · dwm.c Window manager · bar_systray.c System tray · config.h Manager configuration
Components 20
Window management
- Window manager
dwm.c
Bar interface
- Bar assembly
patch/bar.c - Tag display
patch/bar_tags.c - Tag indicators
patch/bar_indicators.c - Window titles
patch/bar_wintitle.c - Window selection bar
patch/bar_awesomebar.c - System tray
patch/bar_systray.c - Title actions
patch/bar_wintitleactions.c
Layouts and state
- Tile and monocle layouts
patch/layout_tile.c - Vanity gaps
patch/vanitygaps.c - State persistence
patch/seamless_restart.c
Configuration and rendering
- Key bindings
keybinds.h - Manager configuration
config.h - Color palette
colors.h - Xft drawing
drw.c - Patch integration
patch/include.c
Other components
- Desktop user
- X server
- Client windows
- Tray applications
Connections 24
- Desktop user → Window manager: controls
- X server → Window manager: delivers events
dwm.c - Window manager → X server: manages windows
dwm.c - Client windows → X server: create windows
- Window manager → Manager configuration: uses settings
dwm.c - Manager configuration → Key bindings: includes bindings
config.h - Window manager → Xft drawing: uses drawing
dwm.c - Patch integration → Bar assembly: includes
patch/include.c - Patch integration → Tag display: includes
patch/include.c - Patch integration → Tag indicators: includes
patch/include.c - Patch integration → Window titles: includes
patch/include.c - Patch integration → Window selection bar: includes
patch/include.c - Patch integration → System tray: includes
patch/include.c - Patch integration → Title actions: includes
patch/include.c - Patch integration → Tile and monocle layouts: includes
patch/include.c - Patch integration → Vanity gaps: includes
patch/include.c - Patch integration → State persistence: includes
patch/include.c - Window manager → Patch integration: integrates patches
dwm.c - Window manager → Tile and monocle layouts: arranges clients
- Window manager → Vanity gaps: adjusts spacing
- State persistence → X server: stores state
patch/seamless_restart.c - Tray applications → System tray: dock icons
patch/bar_systray.c - System tray → X server: maps tray
patch/bar_systray.c - Color palette → Manager configuration: sets palette
config.h