diff options
| author | stkhan <personal@slickd.xyz> | 2021-04-23 18:07:00 +0000 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2021-04-23 18:07:00 +0000 |
| commit | b9dae657725ab9f3ab44963f89d924c16810e2c1 (patch) | |
| tree | 9053dfbdf56bb0e40664df6d6962a28c75d679d1 /dwm-6.2 | |
| parent | 2274f2f3e700a9fcf7da8642a9145a5793f07646 (diff) | |
Added notifications to some scripts
Diffstat (limited to 'dwm-6.2')
| -rw-r--r-- | dwm-6.2/config.h | 45 | ||||
| -rwxr-xr-x | dwm-6.2/dwm | bin | 66200 -> 66864 bytes | |||
| -rw-r--r-- | dwm-6.2/dwm.o | bin | 58608 -> 60056 bytes |
3 files changed, 27 insertions, 18 deletions
diff --git a/dwm-6.2/config.h b/dwm-6.2/config.h index bb94b70..7101bbf 100644 --- a/dwm-6.2/config.h +++ b/dwm-6.2/config.h @@ -2,19 +2,19 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int gappx = 5; /* gaps between windows */ +static const unsigned int gappx = 30; /* 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 int vertpad = 10; /* vertical padding of bar */ -static const int sidepad = 10; /* horizontal padding of bar */ -static const char *fonts[] = { "monospace:size=10" }; -static const char dmenufont[] = "monospace:size=10"; +static const int vertpad = 5; +static const int sidepad = 8; +static const char *fonts[] = { "Source Code Pro:size=9" }; +static const char dmenufont[] = "Source Code Pro:size=9"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#005577"; +static const char col_cyan[] = "#00731f"; static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, @@ -22,7 +22,7 @@ static const char *colors[][3] = { }; /* tagging */ -static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +static const char *tags[] = { "/", "dev", "web", "etc", }; static const Rule rules[] = { /* xprop(1): @@ -31,7 +31,9 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, + { "Steam", NULL, NULL, 0, 1, -1}, + { "Firefox", NULL, NULL, 2 << 1, 0, -1 }, + { "st", NULL, NULL, 2, 0, -1 }, }; /* layout(s) */ @@ -41,9 +43,9 @@ static const int resizehints = 1; /* 1 means respect size hints in tiled resi static const Layout layouts[] = { /* symbol arrange function */ - { "[]=", tile }, /* first entry is default */ - { "><>", NULL }, /* no layout function means floating behavior */ - { "[M]", monocle }, + { "[]", tile }, /* first entry is default */ + { "_-_", NULL }, /* no layout function means floating behavior */ + { "(0*0)", monocle }, }; /* key definitions */ @@ -64,18 +66,18 @@ static const char *termcmd[] = { "st", NULL }; static Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_p, spawn, {.v = dmenucmd } }, - { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_d, spawn, {.v = dmenucmd } }, + { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, - { MODKEY, XK_i, incnmaster, {.i = +1 } }, +/* { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_d, incnmaster, {.i = -1 } }, - { MODKEY, XK_h, setmfact, {.f = -0.05} }, +*/ { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, - { MODKEY, XK_Return, zoom, {0} }, + { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, - { MODKEY|ShiftMask, XK_c, killclient, {0} }, + { MODKEY, XK_x, killclient, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, @@ -90,6 +92,13 @@ static Key keys[] = { { MODKEY, XK_minus, setgaps, {.i = -1 } }, { MODKEY, XK_equal, setgaps, {.i = +1 } }, { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, + { MODKEY|ShiftMask, XK_f, spawn, SHCMD("falkon") }, + { MODKEY|ShiftMask, XK_h, spawn, SHCMD("st htop") }, + { MODKEY|ShiftMask, XK_u, spawn, SHCMD("~/.local/bin/vol_up") }, + { MODKEY|ShiftMask, XK_l, spawn, SHCMD("~/.local/bin/darker") }, + { MODKEY|ShiftMask, XK_b, spawn, SHCMD("~/.local/bin/brighter") }, + { MODKEY|ShiftMask, XK_d, spawn, SHCMD("~/.local/bin/vol_down") }, + { MODKEY|ShiftMask, XK_m, spawn, SHCMD("~/.local/bin/mute") }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) @@ -99,7 +108,7 @@ static Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - { MODKEY|ShiftMask, XK_q, quit, {0} }, + { MODKEY|ShiftMask, XK_q, quit, {0} }, }; /* button definitions */ diff --git a/dwm-6.2/dwm b/dwm-6.2/dwm Binary files differindex 6aec95a..127b3a2 100755 --- a/dwm-6.2/dwm +++ b/dwm-6.2/dwm diff --git a/dwm-6.2/dwm.o b/dwm-6.2/dwm.o Binary files differindex cf27c0b..8e3159f 100644 --- a/dwm-6.2/dwm.o +++ b/dwm-6.2/dwm.o |