Configuration of dwm for Mac Computers

48 lines
1.1 KiB

18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
  1. dwm - dynamic window manager
  2. ----------------------------
  3. dwm is an extremely fast, small, and dynamic X11 window manager.
  4. Requirements
  5. ------------
  6. In order to build dwm you need the Xlib header files.
  7. Installation
  8. ------------
  9. Edit config.mk to match your local setup (dwm is installed into
  10. the /usr/local namespace by default).
  11. Afterwards enter the following command to build and install dwm (if
  12. necessary as root):
  13. cp config.default.h config.h
  14. make clean install
  15. Running dwm
  16. -----------
  17. Add the following line to your .xinitrc to start dwm using startx:
  18. exec dwm
  19. In order to connect dwm to a specific display, make sure that
  20. the DISPLAY environment variable is set correctly, e.g.:
  21. DISPLAY=foo.bar:1 exec dwm
  22. (This will start dwm on display :1 of the host foo.bar.)
  23. In order to display status info in the bar, you can do something
  24. like this in your .xinitrc:
  25. while true
  26. do
  27. echo `date` `uptime | sed 's/.*://; s/,//g'`
  28. sleep 1
  29. done | dwm
  30. Configuration
  31. -------------
  32. The configuration of dwm is done by editing config.h.