Another copy of my dotfiles. Because I don't completely trust GitHub.
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.

54 lines
2.8 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. /* See LICENSE file for copyright and license details. */
  2. #include <X11/XF86keysym.h>
  3. /* appearance */
  4. static const int rmaster = 0; /* 1 = master at right*/
  5. static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
  6. static const unsigned int systrayspacing = 2; /* systray spacing */
  7. static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
  8. static int showsystray = 1; /* 0 means no systray */
  9. static const int tag_padding = 0;
  10. static const char *layoutmenu_cmd = "~/.scripts/layoutmenu.sh";
  11. /* systray */
  12. static int tagindicatortype = INDICATOR_TOP_LEFT_SQUARE;
  13. static int tiledindicatortype = INDICATOR_NONE;
  14. static int floatindicatortype = INDICATOR_TOP_LEFT_SQUARE;
  15. /* vanity gaps */
  16. static const unsigned int gappih = 20; /* horiz inner gap between windows */
  17. static const unsigned int gappiv = 10; /* vert inner gap between windows */
  18. static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
  19. static const unsigned int gappov = 30; /* vert outer gap between windows and screen edge */
  20. static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */
  21. /* tagging */
  22. static char *tagicons[][NUMTAGS] = {
  23. [DEFAULT_TAGS] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" },
  24. [ALTERNATIVE_TAGS] = { "A", "B", "C", "D", "E", "F", "G", "H", "I" },
  25. };
  26. /* layout(s) */
  27. static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */
  28. static const int nmaster = 1; /* number of clients in master area */
  29. static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
  30. static const Layout layouts[] = {
  31. /* symbol arrange function */
  32. { "", tile }, /* first entry is default */
  33. { "", dwindle },
  34. { "", grid },
  35. { "", centeredmaster },
  36. { "", centeredfloatingmaster },
  37. { "[M]", monocle },
  38. { "[D]", deck },
  39. };
  40. static const BarRule barrules[] = {
  41. /* monitor bar alignment widthfunc drawfunc clickfunc name */
  42. { -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, "tags" },
  43. //{ 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, "systray" },
  44. { -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" },
  45. { 'A', 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_statuscmd, "status2d" },
  46. };