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.

79 lines
4.1 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
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 = "/home/yigit/.local/bin/layoutmenu.sh";
  11. static const char autostartblocksh[] = "autostart_blocking.sh";
  12. static const char autostartsh[] = "autostart.sh";
  13. static const char dwmdir[] = "dwm";
  14. static const char localshare[] = ".config/suckless";
  15. static int floatposgrid_x = 5; /* float grid columns */
  16. static int floatposgrid_y = 5; /* float grid rows */
  17. /* systray */
  18. static int tagindicatortype = INDICATOR_TOP_LEFT_SQUARE;
  19. static int tiledindicatortype = INDICATOR_NONE;
  20. static int floatindicatortype = INDICATOR_TOP_LEFT_SQUARE;
  21. /* vanity gaps */
  22. static const unsigned int gappih = 20; /* horiz inner gap between windows */
  23. static const unsigned int gappiv = 10; /* vert inner gap between windows */
  24. static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
  25. static const unsigned int gappov = 30; /* vert outer gap between windows and screen edge */
  26. static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */
  27. /* tagging */
  28. static char *tagicons[][NUMTAGS] = {
  29. [DEFAULT_TAGS] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" },
  30. [ALTERNATIVE_TAGS] = { "A", "B", "C", "D", "E", "F", "G", "H", "I" },
  31. };
  32. /* layout(s) */
  33. static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */
  34. static const int nmaster = 1; /* number of clients in master area */
  35. static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
  36. static const Layout layouts[] = {
  37. /* symbol arrange function */
  38. { "", tile }, /* first entry is default */
  39. { "", dwindle },
  40. { "", grid },
  41. { "", centeredmaster },
  42. { "", centeredfloatingmaster },
  43. { "[M]", monocle },
  44. { "[D]", deck },
  45. };
  46. const char *spcmd1[] = {"st", "-c", "scratchpad", "-n", "spterm", "-g", "120x34", NULL };
  47. const char *spcmd2[] = {"feh", "--title", "scratchpad", "--class", "spfeh", "-g","900x300+500+350", "/home/yigit/Pictures/us_keyboard.png", NULL};
  48. const char *spcmd3[] = {"st", "-c", "scratchpad", "-n", "spmutt", "-g", "180x51", "-e", "neomutt", NULL };
  49. static const char *spcmd4[] = { "/usr/local/bin/st", "-g", "150x35", "-c", "spfile", "-n", "spfile", "-e", "/home/yigit/.local/bin/lf-ueberzug", NULL };
  50. static const char *spcmd5[] = { "/usr/local/bin/st", "-g", "150x35", "-c", "spmusic", "-n", "spmusic", "-e", "ncmpcpp", NULL };
  51. static const char *spcmd6[] = { "/usr/local/bin/st", "-g", "150x35", "-c", "spcal", "-n", "spcal", "-e", "calcurse", NULL };
  52. static Sp scratchpads[] = {
  53. {"spterm", spcmd1},
  54. {"spfeh", spcmd2},
  55. {"spmutt", spcmd3},
  56. {"spfile", spcmd4},
  57. {"spmusic", spcmd5},
  58. {"spcal", spcmd6},
  59. };
  60. static const BarRule barrules[] = {
  61. /* monitor bar alignment widthfunc drawfunc clickfunc name */
  62. { -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, "tags" },
  63. //{ 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, "systray" },
  64. { -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" },
  65. { 'A', 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_statuscmd, "status2d" },
  66. };