t* dwm + patches URI git clone git://git.codevoid.de/dwm-sdk DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 9e76600450f2fc8dd9a8abe2c520211653015110 DIR parent 94c9b92e25e10b635cc63998feca9d4df8dcb3c9 URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de> Date: Thu, 5 Dec 2019 22:00:10 +0100 Fonts... Diffstat: M config.h | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) --- DIR diff --git a/config.h b/config.h t@@ -1,6 +1,6 @@ /* See LICENSE file for copyright and license details. */ -#define FONT "Terminus-12" +#define FONT "-zevv-peep-medium-r-normal--16-140-75-75-c-80-iso8859-15" /* appearance */ static const char *fonts[] = { FONT }; t@@ -13,7 +13,7 @@ static const char selbordercolor[] = "#990000"; // window border fg static const char warncolor[] = "#DE6D03"; // status bg warning static const char critcolor[] = "#B91807"; // status bg critical static const unsigned int borderpx = 1; // window border size px -static const unsigned int gappx = 10; // window gap size px +static const unsigned int gappx = 8; // window gap size px static const unsigned int snap = 8; // snap distance px static const unsigned int systrayspacing = 1; // systray spacing static const unsigned int systraypinning = 1; // 0 tray follows mouse t@@ -73,29 +73,22 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; -static const char scratchpadname[] = "scratchpad"; +static const char scratchpadname[] = "maeG0guw6lah0ohvooke"; static const char *dmenucmd[] = { "dmenu_run", DMENUOPTS, NULL }; /* custom commands */ -#ifdef __linux__ -// @ WORK -static const char *scratchpadcmd[] = { "st", "-f", "FiraCode-9", "-t", scratchpadname, "-g", "120x24", "-e", "mksh", NULL }; -static const char *termcmd[] = { "st", "-e", "mksh", NULL }; -static const char *smalltermcmd[] = { "st","-f", "FiraCode-9", "-e", "mksh", NULL }; -static const char *notescmd[] = { "st", "-e", "vim", "/N/notes.txt", NULL }; -#else -// @ HOME static const char *termcmd[] = { "st", NULL }; -static const char *smalltermcmd[] = { "st","-f", "peep-10", NULL }; -static const char *scratchpadcmd[] = { "st", "-f", "peep-10", "-t", scratchpadname, "-g", "160x28", NULL }; -static const char *notescmd[] = { "st", "-e", "vim", "sftp://sdk@shell.codevoid.de/work/notes/notes.txt", NULL }; -#endif +static const char *bigtermcmd[] = { "st","-f", "Luxi Mono-14", NULL }; +static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "160x28", NULL }; static const char *browsercmd[] = { ".dwm/browser", DMENUOPTS, NULL }; static const char *passmenucmd[] = { ".dwm/passmenu", DMENUOPTS, NULL }; static const char *sshot[] = { ".dwm/sshot", NULL }; static const char *preview[] = { "st", "-c", "st-osd", "-g", "57x6+950+30", "-f", "peep-9", "-e", "/home/sdk/.dwm/preview", NULL }; static const char *youtube[] = { ".dwm/youtube", NULL }; +static const char *timer[] = { ".dwm/timer", NULL }; +static const char *notescmd[] = { "st", "-e", "vim", "sftp://sdk@shell.codevoid.de/work/notes/notes.txt", NULL }; + static const char *updateStatus[] = { "pkill", "-SIGUSR1", "dwmstatus", NULL }; static const char *unMute[] = { "mixerctl", "outputs.spkr_mute=off", NULL }; t@@ -107,13 +100,14 @@ static Key keys[] = { { 0, 0x1008ff12, spawn, {.v = unMute } }, { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, - { MODKEY|ShiftMask, XK_Return, spawn, {.v = smalltermcmd } }, + { MODKEY|ShiftMask, XK_Return, spawn, {.v = bigtermcmd } }, { MODKEY|ShiftMask, XK_f, spawn, {.v = browsercmd } }, { MODKEY|ShiftMask, XK_p, spawn, {.v = passmenucmd } }, { MODKEY, XK_p, spawn, {.v = preview } }, { MODKEY, XK_y, spawn, {.v = youtube } }, { MODKEY|ShiftMask, XK_Print, spawn, {.v = sshot } }, { MODKEY|ShiftMask, XK_o, spawn, {.v = notescmd } }, + { MODKEY|ShiftMask, XK_t, spawn, {.v = timer } }, { MODKEY, XK_minus, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_Down, focusstack, {.i = +1 } },