From e7c24f7a5fc39bc0038d440d175bbad75f519901 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 31 Jan 2021 21:48:12 -0600 Subject: Change font from 'mononoki' to 'mononoki Nerd Font', remove dependency on sxhkd for keybindings --- config.h | 70 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index b355e1f..7a4dc4f 100644 --- a/config.h +++ b/config.h @@ -13,8 +13,8 @@ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display static const int showsystray = 1; /* 0 means no systray */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "mononoki:size=9", "JoyPixels:size=9" }; -static const char dmenufont[] = "mononoki:size=9"; +static const char *fonts[] = { "mononoki Nerd Font:size=9", "JoyPixels:size=9" }; +static const char dmenufont[] = "mononoki Nerd Font:size=9"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; @@ -89,44 +89,44 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *passmenu[] = { "passmenu", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; -static const char *termcmd[] = { "tabbed", "-c", "alacritty", "--embed", NULL }; -//static const char *termcmd[] = { "dmenuabduco", NULL }; -//static const char *mpdtoggle[] = { "playerctl", "--player=mpd,mpv,%any", "play-pause", NULL }; -//static const char *mpdnext[] = { "playerctl", "--player=mpd,mpv,%any", "next", NULL }; -//static const char *mpdprev[] = { "playerctl", "--player=mpd,mpv,%any", "previous", NULL }; -//static const char *plytoggle[] = { "playerctl", "--player=%any,mpd", "play-pause", NULL }; -//static const char *plyfwd[] = { "playerctl", "--player=%any,mpd", "position 5+", NULL }; -//static const char *plybck[] = { "playerctl", "--player=%any,mpd", "position 5-", NULL }; -//static const char *blightup[] = { "light", "-A", "1", NULL }; -//static const char *blightdown[] = { "light", "-U", "1", NULL }; -//static const char *audioup[] = { "volsv", "-i", NULL }; -//static const char *audiodown[] = { "volsv", "-d", NULL }; -//static const char *audiomute[] = { "volsv", "-t", NULL }; -//static const char *micmute[] = { "pamixer", "--source", "1", "-t", NULL }; -//static const char *lockscr[] = { "xscreensaver-command", "-lock", NULL }; -//static const char *xidletog[] = { "xidletog", NULL }; -//static const char *xkillcmd[] = { "xkill", NULL }; +static const char *termcmd[] = { "tabbed", "-c", "st", "-w", NULL }; +static const char *termcmd[] = { "dmenuabduco", NULL }; +static const char *mpdtoggle[] = { "playerctl", "--player=mpd,mpv,%any", "play-pause", NULL }; +static const char *mpdnext[] = { "playerctl", "--player=mpd,mpv,%any", "next", NULL }; +static const char *mpdprev[] = { "playerctl", "--player=mpd,mpv,%any", "previous", NULL }; +static const char *plytoggle[] = { "playerctl", "--player=%any,mpd", "play-pause", NULL }; +static const char *plyfwd[] = { "playerctl", "--player=%any,mpd", "position 5+", NULL }; +static const char *plybck[] = { "playerctl", "--player=%any,mpd", "position 5-", NULL }; +static const char *blightup[] = { "light", "-A", "1", NULL }; +static const char *blightdown[] = { "light", "-U", "1", NULL }; +static const char *audioup[] = { "volsv", "-i", NULL }; +static const char *audiodown[] = { "volsv", "-d", NULL }; +static const char *audiomute[] = { "volsv", "-t", NULL }; +static const char *micmute[] = { "pamixer", "--source", "1", "-t", NULL }; +static const char *lockscr[] = { "xscreensaver-command", "-lock", NULL }; +static const char *xidletog[] = { "xidletog", NULL }; +static const char *xkillcmd[] = { "xkill", NULL }; static Key keys[] = { /* modifier key function argument */ -// { MODKEY, XK_d, spawn, {.v = dmenucmd } }, + { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_p, spawn, {.v = passmenu } }, -// { MODKEY, XK_c, spawn, {.v = xidletog } }, -// { MODKEY, XK_x, spawn, {.v = xkillcmd } }, + { MODKEY, XK_c, spawn, {.v = xidletog } }, + { MODKEY, XK_x, spawn, {.v = xkillcmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, -// { 0, XF86XK_AudioPlay, spawn, {.v = mpdtoggle } }, -// { 0, XF86XK_AudioNext, spawn, {.v = mpdnext } }, -// { 0, XF86XK_AudioPrev, spawn, {.v = mpdprev } }, -// { ShiftMask, XF86XK_AudioPlay, spawn, {.v = plytoggle } }, -// { ShiftMask, XF86XK_AudioNext, spawn, {.v = plyfwd } }, -// { ShiftMask, XF86XK_AudioPrev, spawn, {.v = plybck } }, -// { 0, XF86XK_MonBrightnessUp, spawn, {.v = blightup } }, -// { 0, XF86XK_MonBrightnessDown, spawn, {.v = blightdown } }, -// { 0, XF86XK_AudioLowerVolume, spawn, {.v = audiodown } }, -// { 0, XF86XK_AudioRaiseVolume, spawn, {.v = audioup } }, -// { 0, XF86XK_AudioMute, spawn, {.v = audiomute } }, -// { 0, XF86XK_AudioMicMute, spawn, {.v = micmute } }, -// { Mod4Mask, XK_l, spawn, {.v = lockscr } }, + { 0, XF86XK_AudioPlay, spawn, {.v = mpdtoggle } }, + { 0, XF86XK_AudioNext, spawn, {.v = mpdnext } }, + { 0, XF86XK_AudioPrev, spawn, {.v = mpdprev } }, + { ShiftMask, XF86XK_AudioPlay, spawn, {.v = plytoggle } }, + { ShiftMask, XF86XK_AudioNext, spawn, {.v = plyfwd } }, + { ShiftMask, XF86XK_AudioPrev, spawn, {.v = plybck } }, + { 0, XF86XK_MonBrightnessUp, spawn, {.v = blightup } }, + { 0, XF86XK_MonBrightnessDown, spawn, {.v = blightdown } }, + { 0, XF86XK_AudioLowerVolume, spawn, {.v = audiodown } }, + { 0, XF86XK_AudioRaiseVolume, spawn, {.v = audioup } }, + { 0, XF86XK_AudioMute, spawn, {.v = audiomute } }, + { 0, XF86XK_AudioMicMute, spawn, {.v = micmute } }, + { Mod4Mask, XK_l, spawn, {.v = lockscr } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, -- cgit v1.2.3