Browse Source

New configuration for Summer School

main
parent
commit
d53cb0fddb
1 changed files with 21 additions and 8 deletions
  1. +21
    -8
      config.def.h

+ 21
- 8
config.def.h View File

@ -5,6 +5,7 @@
static const char *upvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "+5%", NULL };
static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "-5%", NULL };
static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute", "0", "toggle", NULL };
static const char *card0[] = { "/usr/bin/pactl", "set-default-sink", "1"};
/*Keyboard backlight*/
static const char *kbdbrightup[] = { "brightnessctl", "-d", "smc::kbd_backlight", "s", "+10%" };
static const char *kbdbrightdown[] = { "brightnessctl", "-d", "smc::kbd_backlight", "s", "10%-" };
@ -18,19 +19,25 @@ static const unsigned int gappx = 5; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "SourceCodePro:size=14" };
static const char dmenufont[] = "SourceCodePro:size=14";
//static const int extrabar = 1; /* 0 means no extra bar */
//static const char statussep = ';'; /* separator between statuses */
static const char *fonts[] = { "SourceCodePro:size=12" };
static const char dmenufont[] = "SourceCodePro:size=15";
static const char col_gray1[] = "#1D2330";
static const char col_gray2[] = "#1D2330";//"#444444";
static const char col_gray3[] = "#bbbbbb";//"#bbbbbb";
static const char col_gray4[] = "#aaaaaa";//"#eeeeee";
static const char col_cyan[] = "#441188";//"#005577";
static const char col_purple[] = "#441188";//"#005577";
static const char col_cyan[] = "#441188";//"#005577";
static const char col_blue[] = "#005577";
static const char col_green[] = "#248f11";
static const unsigned int baralpha = 0xd0;
static const unsigned int borderalpha = OPAQUE;
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
//[SchemeSel] = { col_gray4, col_cyan, col_cyan },
[SchemeSel] = { col_gray4, col_purple, col_green },
};
static const unsigned int alphas[][3] = {
/* fg bg border */
@ -40,8 +47,8 @@ static const unsigned int alphas[][3] = {
/* tagging */
//static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
static const char *tags[] = { "1", "2", "3","4", "5", "6", "7", "8", "9" };
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
@ -51,11 +58,13 @@ static const Rule rules[] = {
{ "Gimp", NULL, NULL, 0, 1, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
{ "imagej", NULL, NULL, 0, 1, -1 },
{ "eclipse", NULL, NULL, 0, 1, -1 },
{ "processing-app-Base", NULL, NULL,1 << 5, 0, -1 },
//{ "Alacritty", NULL, NULL, 1 << 2, 0, -1 },
{ "Brave-browser", NULL, NULL, 1 << 0, 0, -1 },
};
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
@ -88,6 +97,7 @@ static Key keys[] = {
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
// { MODKEY|ShiftMask, XK_b, toggleextrabar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
@ -138,6 +148,9 @@ static Button buttons[] = {
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
{ ClkWinTitle, 0, Button2, zoom, {0} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
// { ClkExBarLeftStatus, 0, Button2, spawn, {.v = termcmd } },
// { ClkExBarMiddle, 0, Button2, spawn, {.v = termcmd } },
// { ClkExBarRightStatus, 0, Button2, spawn, {.v = termcmd } },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },


Loading…
Cancel
Save