t* dwm + patches URI git clone git://git.codevoid.de/dwm-sdk DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit dc91bada7c9f3bff562e4cd532fc7206daafd9f0 DIR parent ecefa0102e0ce406fcea4a78465cd2bc0418efa0 URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de> Date: Sat, 31 Aug 2019 07:47:06 +0200 config adjustments Diffstat: M config.h | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 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 "FiraCode-12" +#define FONT "peep-12" /* appearance */ static const char *fonts[] = { FONT }; t@@ -78,21 +78,26 @@ static char dmenumon[2] = "0"; static const char *dmenucmd[] = { "dmenu_run", DMENUOPTS, NULL }; #ifdef __linux__ -static const char *scratchpadcmd[] = { "st","-t", scratchpadname, "-g", "80x20", "-e", "mksh", NULL }; -static const char *termcmd[] = { "st", "-e", "mksh", NULL }; +// @ 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 -static const char *termcmd[] = { "st", NULL }; -static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "96x18", NULL }; +// @ HOME +static const char *termcmd[] = { "st", NULL }; +static const char *smalltermcmd[] = { "st","-f", "FiraCode-9", NULL }; +static const char *scratchpadcmd[] = { "st", "-f", "FiraCode-9", "-t", scratchpadname, "-g", "160x28", NULL }; +static const char *notescmd[] = { "st", "-e", "vim", "~/work/notes.txt", NULL }; #endif -static const char *notescmd[] = { "st", "-e", "vim", "Seafile/NotesSync/notes.otl", 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 *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 *updateStatus[] = { "pkill", "-SIGUSR1", "dwmstatus", NULL }; -static const char *unMute[] = { "mixerctl", "outputs.spkr_mute=off", NULL }; +static const char *updateStatus[] = { "pkill", "-SIGUSR1", "dwmstatus", NULL }; +static const char *unMute[] = { "mixerctl", "outputs.spkr_mute=off", NULL }; #include "maximize.c" static Key keys[] = { t@@ -104,6 +109,7 @@ static Key keys[] = { { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, + { MODKEY|ShiftMask, XK_Return, spawn, {.v = smalltermcmd } }, { MODKEY|ShiftMask, XK_f, spawn, {.v = browsercmd } }, { MODKEY|ShiftMask, XK_p, spawn, {.v = passmenucmd } },