My dwm build
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.5 KiB

3 년 전
3 년 전
3 년 전
3 년 전
3 년 전
3 년 전
3 년 전
3 년 전
3 년 전
3 년 전
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # My dwm build
  2. ![dwm-screen](dwm-screen.jpg)
  3. Patches:
  4. - alwaysontop
  5. - cool-autostart
  6. - center
  7. - centeredmaster
  8. - fullgaps
  9. - swallow
  10. Autostart:
  11. ```c
  12. static const char *const autostart[] = {
  13. "sh", "-c", "sh ~/scripts/xinit.sh", NULL,
  14. "dunst", NULL,
  15. "slstatus", NULL,
  16. NULL /* terminate */
  17. };
  18. ```
  19. I use `dunst` notification manager, `slstatus` statusbar, `picom` and font awesome. Install them first. I recommend to install `ttf-font-awesome-4` from AUR if your icons look small.
  20. Build:
  21. ```bash
  22. cp config.def.h config.h
  23. sudo make install
  24. ```
  25. dwm's README:
  26. # dwm - dynamic windows manager
  27. dwm is an extremely fast, small, and dynamic window manager for X.
  28. # Requirements
  29. In order to build dwm you need the Xlib header files.
  30. # Installation
  31. Edit config.mk to match your local setup (dwm is installed into
  32. the /usr/local namespace by default).
  33. Afterwards enter the following command to build and install dwm (if
  34. necessary as root):
  35. ```bash
  36. make clean install
  37. ```
  38. # Running dwm
  39. Add the following line to your .xinitrc to start dwm using startx:
  40. ```bash
  41. exec dwm
  42. ```
  43. In order to connect dwm to a specific display, make sure that
  44. the DISPLAY environment variable is set correctly, e.g.:
  45. ```bash
  46. DISPLAY=foo.bar:1 exec dwm
  47. ```
  48. (This will start dwm on display :1 of the host foo.bar.)
  49. In order to display status info in the bar, you can do something
  50. like this in your .xinitrc:
  51. ```bash
  52. while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
  53. do
  54. sleep 1
  55. done &
  56. exec dwm
  57. ```