No description
Find a file
2024-03-25 07:39:59 +05:00
dwm_scripts Deleted config.def.h from Makefile and moved some scripts from .local/bin to here as I am not using dwm for now 2023-07-22 19:31:19 +05:00
patches Added statuscmd patch 2023-03-19 13:07:48 +05:00
statusbar Pulled in changes from the dotfiles git repo 2024-03-25 07:39:59 +05:00
config.h Removed the bar padding as I am using Monocle layout now 2024-02-28 00:14:37 +05:00
config.mk Removed the swallow patch 2024-02-27 21:50:37 +05:00
drw.c my first dwm build 2023-01-06 23:18:34 +05:00
drw.h my first dwm build 2023-01-06 23:18:34 +05:00
dwm.1 my first dwm build 2023-01-06 23:18:34 +05:00
dwm.c Added the hide vacant tags patch 2024-02-28 00:13:57 +05:00
dwm.png my first dwm build 2023-01-06 23:18:34 +05:00
grep my first dwm build 2023-01-06 23:18:34 +05:00
LICENSE Initial commit 2023-01-06 22:41:47 +05:00
Makefile Deleted config.def.h from Makefile and moved some scripts from .local/bin to here as I am not using dwm for now 2023-07-22 19:31:19 +05:00
README.md Added the hide vacant tags patch 2024-02-28 00:13:57 +05:00
transient.c my first dwm build 2023-01-06 23:18:34 +05:00
util.c my first dwm build 2023-01-06 23:18:34 +05:00
util.h my first dwm build 2023-01-06 23:18:34 +05:00

dwm - dynamic window manager

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

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

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

Configuration

The configuration of dwm is done by creating a custom config.h and (re)compiling the source code.

Patches Applied

  1. aspectresize-6.2
  2. functionalgaps-6.2
  3. attachaside-6.3
  4. actual-fullscreen-20191112-cb3ff58a
  5. bar height-6.3
  6. barpadding-20211020-a786211
  7. underlinetags-6.2
  8. statuscmd-20210405-67d76bd
  9. hide vacant tags-6.3

Previous Build Patches Applied

This is just a list of patches I applied to some old build and I don't wanna forget them.

  1. aspectresize
  2. functionalgaps
  3. attachaside
  4. swallow
  5. actual-fullscreen
  6. bar height
  7. barpadding
  8. rainbowtags
  9. moveresize
  10. pertag-parseltag
  11. preserveonstart
  12. hide vacant tags
  13. taglabels-hide vacant tags funcionality
  14. underlinetags
  15. status2d
  16. statuscmd-status2d