diff --git a/dwm/config.h b/dwm/config.h deleted file mode 100644 index ffda70c..0000000 --- a/dwm/config.h +++ /dev/null @@ -1,142 +0,0 @@ -/* See LICENSE file for copyright and license details. */ - -#define SESSION_FILE "/tmp/dwm-session" - -/* appearance */ -static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int gappx = 4; /* gaps between windows*/ -static const unsigned int snap = 32; /* snap pixel */ -static const int swallowfloating = 0; /* 1 means swallow floating windows by default */ -static const int showbar = 1; /* 0 means no bar */ -static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "monospace:size=10" }; -static const char col_gray1[] = "#282828"; -static const char col_gray2[] = "#504945"; -static const char col_gray3[] = "#bdae93"; -static const char col_gray4[] = "#ebdbb2"; -static const char col_cyan[] = "#cc241d"; -static const char *colors[][3] = { - /* fg bg border */ - [SchemeNorm] = { col_gray3, col_gray1, col_gray1 }, - [SchemeSel] = { col_gray4, col_gray2, col_gray2 }, -}; - -typedef struct { - const char *name; - const void *cmd; -} Sp; -const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL }; -const char *spcmd2[] = {"st", "-n", "spfm", "-g", "144x41", "-e", "nnn", NULL }; -const char *spcmd3[] = {"st", "-n", "spmtrx", "-g", "144x41", "-e", "gomuks", NULL }; -const char *spcmd4[] = {"st", "-n", "sprss", "-g", "144x41", "-e", "newsboat", NULL }; -static Sp scratchpads[] = { - /* name cmd */ - {"spterm", spcmd1}, - {"spfm", spcmd2}, - {"spmtrx", spcmd3}, - {"sprss", spcmd4}, -}; - -/* tagging */ -static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; -static const int momentaryalttags = 0; /* 1 means alttags will show only when key is held down*/ -static const Rule rules[] = { - /* class instance title tags mask isfloating isterminal noswallow monitor */ - { "Gimp", NULL, NULL, 0, 1, 0, 0, -1 }, - { "Cromite", NULL, NULL, 1<<1, 0, 0, 0, -1 }, - { "st", NULL, NULL, 0, 0, 1, 0, -1 }, - { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */ - { NULL, "spterm", NULL, SPTAG(0), 1, 0, 0, -1 }, - { NULL, "spfm", NULL, SPTAG(1), 1, 0, 0, -1 }, - { NULL, "spmtrx", NULL, SPTAG(2), 1, 0, 0, -1 }, - { NULL, "sprss", NULL, SPTAG(3), 1, 0, 0, -1 }, -}; - -/* layout(s) */ -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 = 0; /* 1 means respect size hints in tiled resizals */ -static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ - -static const Layout layouts[] = { - /* symbol arrange function */ - { "[]=", tile }, /* first entry is default */ - { "[M]", monocle }, - { "><>", NULL }, /* no layout function means floating behavior */ -}; - -/* key definitions */ -#define MODKEY Mod4Mask -#define TAGKEYS(KEY,TAG) \ - { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ - { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ - { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ - { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }, - -/* helper for spawning shell commands in the pre dwm-5.0 fashion */ -#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } - -/* commands */ -static const char *menucmd[] = { "dmenu_run", "-c", "-l", "10", "-bw", "2", NULL }; -static const char *passcmd[] = { "passmenu", "-c", "-l", "10", "-bw", "2", NULL }; -static const char *termcmd[] = { "st", NULL }; -static const char *wwwcmd[] = { "cromite", NULL }; -static const char *sscmd[] = { "ss", NULL }; - -static const Key keys[] = { - /* modifier key function argument */ - { MODKEY, XK_r, spawn, {.v = menucmd } }, - { MODKEY, XK_Return, spawn, {.v = termcmd } }, - { MODKEY, XK_b, spawn, {.v = wwwcmd } }, - { MODKEY, XK_p, spawn, {.v = sscmd } }, - { MODKEY|ShiftMask, XK_p, spawn, {.v = passcmd } }, - { MODKEY|ShiftMask, XK_b, togglebar, {0} }, - { MODKEY, XK_j, focusstack, {.i = +1 } }, - { MODKEY, XK_k, focusstack, {.i = -1 } }, - { MODKEY, XK_i, incnmaster, {.i = +1 } }, - { MODKEY, XK_d, incnmaster, {.i = -1 } }, - { MODKEY, XK_h, setmfact, {.f = -0.05} }, - { MODKEY, XK_l, setmfact, {.f = +0.05} }, - { MODKEY|ShiftMask, XK_Return, zoom, {0} }, - { MODKEY, XK_w, killclient, {0} }, - { MODKEY, XK_space, setlayout, {0} }, - { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, - { MODKEY, XK_0, view, {.ui = ~0 } }, - { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, - { MODKEY, XK_comma, focusmon, {.i = -1 } }, - { MODKEY, XK_period, focusmon, {.i = +1 } }, - { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, - { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, - { MODKEY, XK_c, togglescratch, {.ui = 0 } }, - { MODKEY, XK_e, togglescratch, {.ui = 1 } }, - { MODKEY, XK_g, togglescratch, {.ui = 2 } }, - { MODKEY, XK_n, togglescratch, {.ui = 3 } }, - TAGKEYS( XK_1, 0) - TAGKEYS( XK_2, 1) - TAGKEYS( XK_3, 2) - TAGKEYS( XK_4, 3) - TAGKEYS( XK_5, 4) - TAGKEYS( XK_6, 5) - TAGKEYS( XK_7, 6) - TAGKEYS( XK_8, 7) - TAGKEYS( XK_9, 8) - { MODKEY|ShiftMask, XK_q, quit, {0} }, - { MODKEY|ShiftMask, XK_c, quit, {1} }, -}; - -/* button definitions */ -/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ -static const Button buttons[] = { - /* click event mask button function argument */ - { ClkLtSymbol, 0, Button1, setlayout, {0} }, - { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, - { ClkWinTitle, 0, Button2, zoom, {0} }, - { ClkClientWin, MODKEY, Button1, movemouse, {0} }, - { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, - { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, - { ClkTagBar, 0, Button1, view, {0} }, - { ClkTagBar, 0, Button3, toggleview, {0} }, - { ClkTagBar, MODKEY, Button1, tag, {0} }, - { ClkTagBar, MODKEY, Button3, toggletag, {0} }, -}; - diff --git a/dwm/drw.o b/dwm/drw.o deleted file mode 100644 index eb6ee1a..0000000 Binary files a/dwm/drw.o and /dev/null differ diff --git a/dwm/dwm b/dwm/dwm deleted file mode 100755 index 0db4b64..0000000 Binary files a/dwm/dwm and /dev/null differ diff --git a/dwm/dwm.o b/dwm/dwm.o deleted file mode 100644 index 6ebd43a..0000000 Binary files a/dwm/dwm.o and /dev/null differ diff --git a/dwm/util.o b/dwm/util.o deleted file mode 100644 index 8e55fa1..0000000 Binary files a/dwm/util.o and /dev/null differ