When comparing dwm vs Yabai, the Slant community recommends Yabai for most people. In the question“What is the best window manager for Mac?” Yabai is ranked 23rd while dwm is ranked 25th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Simple and small
Dwm is a low-resource window manager that is entirely simplistic in design.
Pro Encourages user modification
Dwm is part of the suckless suite of tools, and encourages users to extend and configure it by modifying the code itself. To this end, dwm is kept under 2000 SLOC, and is an exemplar of clean, readable code (C). This, while giving users all the flexibility they could ask for, also makes dwm as lightweight as possible, and means that users have a full understanding of how it works.
Pro XRandR/Xinerama support
Dwm has support for XRandR and Xinerama, allowing for multi-monitor support.
Pro Many and unique patches available
Thanks to the small codebase, many users contributed patches to the suckless website. They offer unique functionality, e.g. swallow or fakefullscreen, that is not seen in many other WMs.
Pro Sane defaults
Uses Master&Stack layout by default.
Pro Minimalist
Small and easy to digest source for those who want to patch it.
Pro Easy to configure
Configuring dwm is straight-forward thanks to its config.h file (though it will have to be rebuilt for the effects to take place).
Pro Fast
Feels even faster than others minimal window manager.
Pro Very customizable
The clean code and the patches allow us to configure dwm to be exactly what we want.
Pro Default keybindings and functionality are very useful and well thought-out
An example of this is the application of alt-tab to switch between two tags.
Pro No glitches
Imagine a window manager that works perfectly in every situation. No glitches, no delays, no slow downs, no focus problems. Even the best window managers out there have glitches but dwm. Dwm works flawless.
Pro Useful and informative status bar
The dwm status bar can be set to display all kinds of useful information, such as volume level, wifi signal strength, and battery notification.
Pro Application grouping with tags
Dwm's design paradigm is to use tags to group clients (applications) that can then be pulled into a view (workspace); this allows you to view multiple clients at once and to assign or reassign those tags and their related views on the fly.
Contrary to most other window managers, when you view a tag you are not ‘visiting’ a workspace: you are pulling the tagged windows into a single workspace.
Combined with rules in the config.h
, this makes for a flexible and responsive means to manage your workflow.
Pro Fast
Pro Integrates with other apps
Like skhd, sketchybar, hammerspoon scripts, ubersicht
Gives you more control and oversight of your machine
Pro Actively developed
Pro Reliable
Pro Extremely programmable
Cons
Con No runtime config file
There is no config file that can be edited after the window manager is compiled: all changes need to be made prior to compiling.
Con By developers, for developers
Basic knowledge of C language, general programming, and compilation are all required.
Con The patch system breaks the code
To add features one has to patch the original code. That maybe easy to do with only one patch, but things can go down hill after 3+ patches, specially for those who don't know how to code on C.
Con More latency
It uses Xlib instead of XCB.
Con X11 only
X11 is outdated and insecure, there are Wayland clones such as Velox and dwl, but dwm still takes the cake.
Con Can be a steep learning curve at first
Con Needs disabling SIP to get full benefit
SIP is a security feature for Mac. You can use most of the features without disabling it.
Con Needs additional tools to get the full benefit
Install "skhd" to use keyboard shortcuts