Configuration file for DWM on MacBook Air
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.2 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
  1. dwm - dynamic window manager
  2. ----------------------------
  3. dwm is an extremly 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. make clean install
  14. Running dwm
  15. -----------
  16. Add the following line to your .xinitrc to start dwm using startx:
  17. exec dwm
  18. In order to connect dwm to a specific display, make sure that
  19. the DISPLAY environment variable is set correctly, e.g.:
  20. DISPLAY=foo.bar:1 exec dwm
  21. This will start dwm on display :1 of the host foo.bar.
  22. Displaying status info
  23. ----------------------
  24. In order to display status info in the bar, you can do following
  25. in .xinitrc:
  26. $HOME/.dwm/status | dwm
  27. Assumed $HOME/.dwm/status is an executable script like:
  28. #!/bin/sh
  29. while true
  30. do
  31. echo `date` `uptime | sed 's/.*://; s/,//g'`
  32. sleep 5
  33. done
  34. Configuration
  35. -------------
  36. The configuration of dwm is done by customizing source code,
  37. grep for CUSTOMIZE keyword.