dwm

dynamic window manager
git clone https://git.parazyd.org/dwm
Log | Files | Refs | README | LICENSE

commit bc34facd9f430c2e0c862672a952ec80f5e1d6f4
parent 96e2c42482108ecbec17683c399af8efc65c2f8b
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 15 Jul 2022 22:03:22 +0200

math hotkeys

Diffstat:
Mconfig.h | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/config.h b/config.h @@ -10,8 +10,11 @@ static const int systraypinningfailfirst = 1; static const int showsystray = 1; static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "xos4 Terminus:size=10" }; -static const char dmenufont[] = "xos4 Terminus:size=10"; +static const char *fonts[] = { + "Terminus:size=10", + "Noto Color Emoji:pixelsize=10:antialias=true:autohint=true", +}; +static const char dmenufont[] = "Iosevka Term:size=12"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; @@ -79,6 +82,8 @@ static const char *slockcmd[] = { "slock", NULL }; static const char *dmenuraisecmd[] = { "dmenuraise", NULL }; static const char *dmenupasscmd[] = { "dmenupass", NULL }; static const char *glyphcmd[] = { "glyph", NULL }; +static const char *mathglyphcmd[] = { "mathglyph", NULL }; +static const char *texglyphcmd[] = { "texglyph", NULL }; static const char *dunstclosecmd[] = { "dunstctl", "close", NULL }; static const char *rickcmd[] = { "mpv", "--no-video", "never_gonna_give_you_up.mp3", NULL }; @@ -94,6 +99,8 @@ static Key keys[] = { { MODKEY, XK_F3, spawn, {.v = hrkeycmd } }, { MODKEY, XK_F7, spawn, {.v = slockcmd } }, { MODKEY, XK_F8, spawn, {.v = glyphcmd } }, + { MODKEY, XK_F9, spawn, {.v = mathglyphcmd } }, + { MODKEY|ShiftMask, XK_F9, spawn, {.v = texglyphcmd } }, { MODKEY, XK_F10, spawn, {.v = dmenupasscmd } }, { MODKEY, XK_Print, spawn, {.v = dmenuraisecmd } }, { MODKEY|ShiftMask, XK_F12, spawn, {.v = rickcmd } },