My build of dwm
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

config.web.h 1.8 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* See LICENSE file for copyright and license details. */
  2. /* appearance */
  3. static const char *fonts[] = { "fixed" };
  4. static const char dmenufont[] = "fixed";
  5. static const char normbordercolor[] = "#cccccc";
  6. static const char normbgcolor[] = "#cccccc";
  7. static const char normfgcolor[] = "#000000";
  8. static const char selbordercolor[] = "#0066ff";
  9. static const char selbgcolor[] = "#0066ff";
  10. static const char selfgcolor[] = "#000000";
  11. static unsigned int borderpx = 0;
  12. static unsigned int snap = 32;
  13. static const int showbar = 0; /* 0 means no bar */
  14. static const int topbar = 0; /* 0 means bottom bar */
  15. /* tagging */
  16. static const char *tags[] = { "web" };
  17. static const Rule rules[] = {
  18. {0}
  19. };
  20. /* layout(s) */
  21. static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
  22. static const int nmaster = 1; /* number of clients in master area */
  23. static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
  24. static const Layout layouts[] = {
  25. /* symbol arrange function */
  26. { "[M]", monocle },
  27. };
  28. /* key definitions */
  29. #define MODKEY Mod1Mask
  30. /* commands */
  31. static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
  32. static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
  33. static Key keys[] = {
  34. /* modifier key function argument */ \
  35. { MODKEY|ShiftMask, XK_c, killclient, {0} },
  36. { MODKEY, XK_q, killclient, {0} }, \
  37. { MODKEY, XK_F4, killclient, {0} }, \
  38. };
  39. /* button definitions */
  40. /* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
  41. static Button buttons[] = {
  42. { 0 }
  43. };