diff options
Diffstat (limited to '.config/guix/modules/dwm/config.def.h')
-rw-r--r-- | .config/guix/modules/dwm/config.def.h | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/.config/guix/modules/dwm/config.def.h b/.config/guix/modules/dwm/config.def.h index 072754e..69625a4 100644 --- a/.config/guix/modules/dwm/config.def.h +++ b/.config/guix/modules/dwm/config.def.h @@ -12,15 +12,23 @@ static const char col_gray1[] = "#333333"; static const char col_gray2[] = "#666666"; static const char col_gray3[] = "#bbbbbb"; static const char col_gray4[] = "#ffffff"; -static const char col_black[] = "#000000"; +static const char col_black[] = "#000000"; +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_black, col_gray4 }, }; +static const unsigned int alphas[][3] = { + /* fg bg border*/ + [SchemeNorm] = { OPAQUE, baralpha, borderalpha }, + [SchemeSel] = { OPAQUE, baralpha, borderalpha }, +}; + /* tagging */ -static const char *tags[] = { "dev", "brw", "ws3", "ws4", "ws5", "ws6", "ws7", "ws8", "agd" }; +static const char *tags[] = { "dev", "brw", "wte", "ws4", "ws5", "ws6", "ws7", "vid", "agd" }; static const Rule rules[] = { /* xprop(1): @@ -29,7 +37,8 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, - { "icecat", NULL, NULL, 1 << 8, 0, -1 }, + { "Icecat", NULL, NULL, 1 << 8, 0, -1 }, + { "mpv", NULL, NULL, 1 << 8, 0, -1 }, }; /* layout(s) */ @@ -66,7 +75,8 @@ static const char *slockcmd[] = { "slock", NULL }; static const char *flameselect[] = { "flameshot", "launcher", NULL }; static const char *flameall[] = { "flameshot", "full", NULL }; /* other applications */ -static const char *browsercmd[] = { "icecat", NULL }; +static const char *icecatcmd[] = { "icecat", NULL }; +static const char *chromiumcmd[] = { "chromium", "--incognito", NULL }; static const char *emacscmd[] = { "emacsclient", "-nc", NULL }; @@ -75,8 +85,9 @@ static const Key keys[] = { { MODKEY, XK_x, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = slockcmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = emacscmd } }, - { MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } }, - { MODKEY|ShiftMask, XK_o, spawn, SHCMD("xdotool type $(grep -v '^#' /home/bdunahu/Personal/scripts/bookmarks.txt | dmenu -i -l 12 | awk '{print $NF}')") }, + { MODKEY|ShiftMask, XK_b, spawn, {.v = icecatcmd } }, + { MODKEY|ShiftMask, XK_c, spawn, {.v = chromiumcmd } }, + { MODKEY|ShiftMask, XK_o, spawn, SHCMD("xdotool type $(grep -v '^#' /home/bdunahu/Personal/scripts/bookmarks.txt | dmenu -i -l 4 | awk '{print $NF}')") }, { MODKEY|ShiftMask, XK_p, spawn, SHCMD("passmenu --type") }, { 0, XK_Print, spawn, {.v = flameselect } }, { 0|ShiftMask, XK_Print, spawn, {.v = flameall } }, @@ -85,8 +96,8 @@ static const Key keys[] = { { MODKEY, XK_p, focusstack, {.i = -1 } }, { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_u, incnmaster, {.i = -1 } }, - { MODKEY, XK_b, setmfact, {.f = -0.05} }, - { MODKEY, XK_f, setmfact, {.f = +0.05} }, + { MODKEY, XK_b, setmfact, {.f = -0.004} }, + { MODKEY, XK_f, setmfact, {.f = +0.004} }, { MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY, XK_q, killclient, {0} }, |