diff options
author | zachir <zachir@librem.one> | 2021-08-04 02:44:03 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2021-08-04 02:44:03 -0500 |
commit | 3729260503e7fbd9bd717ea73d48c2a3fdc6b92e (patch) | |
tree | 888aa9006fe356cbd42ed91b18f9380b7421839e | |
parent | da64dfe404cef92dcec9fa50995b1eb792127b12 (diff) |
Fix Rules issue (NUL L), add sxhkd restart signal, change default term to urxvtc
-rw-r--r-- | config.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 } }, |