summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h23
-rw-r--r--dwm.c1
2 files changed, 13 insertions, 11 deletions
diff --git a/config.h b/config.h
index 18242a7..278052a 100644
--- a/config.h
+++ b/config.h
@@ -16,7 +16,7 @@ static int swallowfloating = 0; /* 1 means swallow floating windows by
static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
static int showbar = 1; /* 0 means no bar */
static int topbar = 1; /* 0 means bottom bar */
-static char *fonts[] = { "monospace:size=20", "NotoColorEmoji:pixelsize=20:antialias=true:autohint=true" };
+static char *fonts[] = { "Chicago 12.1:Regular::size=25", "CustomSymbols:pixelsize=30:antialias=true:autohint=true" };
static char normbgcolor[] = "#FFFFFF";
static char normbordercolor[] = "#444444";
static char normfgcolor[] = "#000000";
@@ -33,14 +33,15 @@ typedef struct {
const char *name;
const void *cmd;
} Sp;
-const char *spcmd1[] = {TERMINAL, "-n", "spterm", "-g", "120x34", NULL };
+//const char *spcmd1[] = {TERMINAL, "-n", "spterm", "-g", "100x36", NULL };
+const char *spcmd1[] = {TERMINAL, "-n", "spterm", "-g", "100x36", NULL };
const char *spcmd2[] = {TERMINAL, "-n", "spcalc", "-f", "monospace:size=16", "-g", "50x20", "-e", "bc", "-lq", NULL };
-const char *spcmd3[] = {TERMINAL, "-n", "spmpc", "-g", "120x34", "ncmpcpp", NULL };
-const char *spcmd4[] = {TERMINAL, "-n", "sptrem", "-g", "120x34", "tremc", "-X", NULL };
-const char *spcmd5[] = {TERMINAL, "-n", "sprof", "-g", "120x34", "profanity", NULL };
-const char *spcmd6[] = {TERMINAL, "-n", "spmuks", "-g", "120x34", "gomuks", NULL };
-const char *spcmd7[] = {TERMINAL, "-n", "sirssi", "-g", "120x34", "irssi", NULL };
-const char *spcmd8[] = {TERMINAL, "-n", "snmtui", "-g", "120x34", "nmtui", NULL };
+const char *spcmd3[] = {TERMINAL, "-n", "spmpc", "-g", "100x36", "ncmpcpp", NULL };
+const char *spcmd4[] = {TERMINAL, "-n", "sptrem", "-g", "100x36", "tremc", "-X", NULL };
+const char *spcmd5[] = {TERMINAL, "-n", "sprof", "-g", "100x36", "profanity", NULL };
+const char *spcmd6[] = {TERMINAL, "-n", "spmuks", "-g", "100x36", "gomuks", NULL };
+const char *spcmd7[] = {TERMINAL, "-n", "sirssi", "-g", "100x36", "irssi", NULL };
+const char *spcmd8[] = {TERMINAL, "-n", "snmtui", "-g", "100x36", "nmtui", NULL };
static Sp scratchpads[] = {
/* name cmd */
{"spterm", spcmd1},
@@ -54,7 +55,7 @@ static Sp scratchpads[] = {
};
/* tagging */
-static const char *tags[] = { "&", "[", "{", "}", "(", "=", "*", ")", "+", "]", "!", "#", "@"};
+static const char *tags[] = { "&", "[", "{", "}", "(", "=", "*", ")", "+", "]", "!", "#", "@", "-"};
static const Rule rules[] = {
/* xprop(1):
@@ -67,6 +68,7 @@ static const Rule rules[] = {
{ NULL, "mpv_1", NULL, 1 << 10, 0, 0, 0, -1 },
{ NULL, "mpv_2", NULL, 1 << 11, 0, 0, 0, -1 },
{ NULL, "mpv_3", NULL, 1 << 12, 0, 0, 0, -1 },
+ { NULL, "mpv_4", NULL, 1 << 13, 0, 0, 0, -1 },
{ "qutebrowser", NULL, NULL, 1 << 0, 0, 0, 0, -1 },
{ "Anki", NULL, NULL, 1 << 2, 0, 0, 0, -1 },
{ "Zathura", NULL, NULL, 1 << 7, 0, 0, 0, -1 },
@@ -178,7 +180,7 @@ static Key keys[] = {
/*TAGKEYS( XK_ampersand, 0)*/
/*TAGKEYS( XK_bracketleft, 1)*/
/*TAGKEYS( XK_braceleft, 2)*/
- TAGKEYS( XK_braceright, 3)
+ /*TAGKEYS( XK_braceright, 3)*/
TAGKEYS( XK_parenleft, 4)
TAGKEYS( XK_equal, 5)
TAGKEYS( XK_asterisk, 6)
@@ -240,6 +242,7 @@ static Key keys[] = {
{ MODKEY, XK_at, spawn, {.v = (const char*[]){ "mpc", "seek", "+10", NULL } } },
{ MODKEY, XK_bracketleft, spawn, SHCMD("xdo activate -n mpv_2") },
{ MODKEY, XK_braceleft, spawn, SHCMD("xdo activate -n mpv_3") },
+ { MODKEY, XK_braceright, spawn, SHCMD("xdo activate -n mpv_4") },
{ MODKEY|ShiftMask, XK_at, spawn, {.v = (const char*[]){ "mpc", "seek", "+60", NULL } } },
{ MODKEY, XK_backslash, view, {0} },
/* { MODKEY|ShiftMask, XK_backslash, spawn, SHCMD("") }, */
diff --git a/dwm.c b/dwm.c
index bfc9f42..d2d494b 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2806,4 +2806,3 @@ main(int argc, char *argv[])
XCloseDisplay(dpy);
return EXIT_SUCCESS;
}
-