Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dwm

> 编程语言
Open source

A bloated build of dwm with systemtray, gaps, customized tags and other appearance changes

191 stars0 likes1 views
WebsiteGitHub

About

A bloated build of dwm with systemtray, gaps, customized tags and other appearance changes

David's build of dwm

中文版

dwm is an extremely fast, small, and dynamic window manager for X.

BTW, my scripts are in this repo.

Requirements

In order to build dwm you need the Xlib header files.

Installation

Edit config.mk to match your local setup (dwm is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install dwm (if necessary as root):

make clean install

Patches applied

  • dwm-alpha-20180613-b69c870.diff
  • dwm-autostart-20161205-bb3bd6f.diff
  • dwm-awesomebar-20191003-80e2a76.diff
  • dwm-fullscreen-6.2.diff
  • dwm-hide-and-restore.diff (a custom patch I wrote)
  • dwm-hide_vacant_tags-6.2.diff
  • dwm-noborder-6.2.diff
  • dwm-pertag-20170513-ceac8c9.diff
  • dwm-r1522-viewontag.diff
  • dwm-rotatestack-20161021-ab9571b.diff
  • dwm-scratchpad-6.2.diff
  • dwm-vanitygaps-20190508-6.2.diff

Running dwm

Add the following line to your .xinitrc to start dwm using startx:

exec dwm

In order to connect dwm to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.:

DISPLAY=foo.bar:1 exec dwm

(This will start dwm on display :1 of the host foo.bar.)

In order to display status info in the bar, you can do something like this in your .xinitrc:

while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
do
	sleep 1
done &
exec dwm

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言