Advertisement
Dj_Dexter

patch_config_def_h

Aug 18th, 2012
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 4.79 KB | None | 0 0
  1. --- config.def.h.orig   Sat Aug 18 18:43:01 2012
  2. +++ config.def.h    Sat Aug 18 18:43:33 2012
  3. @@ -2,39 +2,39 @@
  4.  
  5.  /* appearance */
  6.  static const char font[]            = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
  7. -static const char normbordercolor[] = "#cccccc";
  8. -static const char normbgcolor[]     = "#cccccc";
  9. -static const char normfgcolor[]     = "#000000";
  10. -static const char selbordercolor[]  = "#0066ff";
  11. -static const char selbgcolor[]      = "#0066ff";
  12. -static const char selfgcolor[]      = "#ffffff";
  13. +static const char normbordercolor[] = "#FF0000"; //cccccc_rojo_ventanas en las que no estamos.
  14. +static const char normbgcolor[]     = "#000000"; //cccccc_negro_fondo barra.
  15. +static const char normfgcolor[]     = "#FFFF00"; //000000_amarillo_letras barra sin ejecutar nada.
  16. +static const char selbordercolor[]  = "#00FF00"; //0066ff_verde_ventana en la que estamos.
  17. +static const char selbgcolor[]      = "#545454"; //0066ff_gris_fondo barra al ejecutar terminal
  18. +static const char selfgcolor[]      = "#FFFF00"; //ffffff_amarillo_letras barra al ejecutar terminal
  19.  static const unsigned int borderpx  = 1;        /* border pixel of windows */
  20.  static const unsigned int snap      = 32;       /* snap pixel */
  21.  static const Bool showbar           = True;     /* False means no bar */
  22.  static const Bool topbar            = True;     /* False means bottom bar */
  23.  
  24.  /* tagging */
  25. -static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
  26. +static const char *tags[] = { "I", "II", "III", "IV", "V" };
  27.  
  28.  static const Rule rules[] = {
  29.     /* class      instance    title       tags mask     isfloating   monitor */
  30. -   { "Gimp",     NULL,       NULL,       0,            True,        -1 },
  31. -   { "Firefox",  NULL,       NULL,       1 << 8,       False,       -1 },
  32. +   { NULL,     NULL,       NULL,       0,            False,        -1 },
  33.  };
  34.  
  35.  /* layout(s) */
  36. -static const float mfact      = 0.55; /* factor of master area size [0.05..0.95] */
  37. +static const float mfact      = 0.5; /* factor of master area size [0.05..0.95] */
  38.  static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
  39.  
  40.  static const Layout layouts[] = {
  41.     /* symbol     arrange function */
  42. -   { "[]=",      tile },    /* first entry is default */
  43. +   /* first entry is default */
  44.     { "><>",      NULL },    /* no layout function means floating behavior */
  45. +   { "[]=",      tile },
  46.     { "[M]",      monocle },
  47.  };
  48.  
  49.  /* key definitions */
  50. -#define MODKEY Mod1Mask
  51. +#define MODKEY Mod4Mask /*antes= Mod1Mask que es el alt, ahora esta la de windows*/
  52.  #define TAGKEYS(KEY,TAG) \
  53.     { MODKEY,                       KEY,      view,           {.ui = 1 << TAG} }, \
  54.     { MODKEY|ControlMask,           KEY,      toggleview,     {.ui = 1 << TAG} }, \
  55. @@ -45,13 +45,14 @@
  56.  #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
  57.  
  58.  /* commands */
  59. -static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
  60. -static const char *termcmd[]  = { "uxterm", NULL };
  61. -
  62. +static const char *dmenucmd[] = { "gmrun", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
  63. +static const char *termcmd[]  = { "urxvt", NULL };
  64. +static const char *lockmonitor[]  = { "xlock", NULL };
  65.  static Key keys[] = {
  66.     /* modifier                     key        function        argument */
  67.     { MODKEY,                       XK_p,      spawn,          {.v = dmenucmd } },
  68.     { MODKEY|ShiftMask,             XK_Return, spawn,          {.v = termcmd } },
  69. +        { MODKEY|ShiftMask,             XK_z,      spawn,          {.v = lockmonitor } },
  70.     { MODKEY,                       XK_b,      togglebar,      {0} },
  71.     { MODKEY,                       XK_j,      focusstack,     {.i = +1 } },
  72.     { MODKEY,                       XK_k,      focusstack,     {.i = -1 } },
  73. @@ -94,9 +95,8 @@
  74.     { ClkClientWin,         MODKEY,         Button1,        movemouse,      {0} },
  75.     { ClkClientWin,         MODKEY,         Button2,        togglefloating, {0} },
  76.     { ClkClientWin,         MODKEY,         Button3,        resizemouse,    {0} },
  77. -   { ClkTagBar,            0,              Button1,        view,           {0} },
  78. -   { ClkTagBar,            0,              Button3,        toggleview,     {0} },
  79. -   { ClkTagBar,            MODKEY,         Button1,        tag,            {0} },
  80. -   { ClkTagBar,            MODKEY,         Button3,        toggletag,      {0} },
  81. -};
  82. -
  83. +// { ClkTagBar,            0,              Button1,        view,           {0} },
  84. +// { ClkTagBar,            0,              Button3,        toggleview,     {0} },
  85. +// { ClkTagBar,            MODKEY,         Button1,        tag,            {0} },
  86. +// { ClkTagBar,            MODKEY,         Button3,        toggletag,      {0} },
  87. +};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement