From 3729260503e7fbd9bd717ea73d48c2a3fdc6b92e Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 4 Aug 2021 02:44:03 -0500 Subject: Fix Rules issue (NUL L), add sxhkd restart signal, change default term to urxvtc --- config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 027154a..e37feca 100644 --- a/config.h +++ b/config.h @@ -58,8 +58,8 @@ static const Rule rules[] = { { "ardour-6.2.0",NULL, NULL, 0, 1, 0, 0, -1 }, { "urxvt", NULL, NULL, 0, 0, 1, 0, -1 }, { "URxvt", NULL, NULL, 0, 0, 1, 0, -1 }, - { "Ardour-6.2.0",NULL, NUL L, 0, 1, 0, 0, -1 }, - { "Gimp", NULL, NUL L, 0, 1, 0, 0, -1 }, + { "Ardour-6.2.0",NULL, NULL, 0, 1, 0, 0, -1 }, + { "Gimp", NULL, NULL, 0, 1, 0, 0, -1 }, { "st-256color",NULL, NULL, 0, 0, 1, 1, -1 }, { "st", NULL, NULL, 0, 0, 1, 1, -1 }, { "St", NULL, NULL, 0, 0, 1, 1, -1 }, @@ -118,7 +118,9 @@ 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 *rmenucmd[] = { "/usr/sbin/j4-dmenu-desktop", 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[] = { "alacritty", NULL }; +static const char *termcmd[] = { "urxvtc", NULL }; +/* static const char *termcmd[] = { "alacritty", NULL }; */ +static const char *sxhkdsig[] = { "pkill", "-USR1", "sxhkd", 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 }; */ @@ -149,6 +151,7 @@ static Key keys[] = { { MODKEY|ControlMask, XK_b, togglescratch, {.ui = 3 } }, { MODKEY|ControlMask, XK_a, togglescratch, {.ui = 4 } }, { MODKEY|ControlMask, XK_s, togglescratch, {.ui = 5 } }, + { MODKEY, XK_Escape, spawn, {.v = sxhkdsig } }, // { 0, XF86XK_AudioPlay, spawn, {.v = mpdtoggle } }, // { 0, XF86XK_AudioNext, spawn, {.v = mpdnext } }, // { 0, XF86XK_AudioPrev, spawn, {.v = mpdprev } }, -- cgit v1.2.3