apply newterm patch
This commit is contained in:
9
config.h
9
config.h
@@ -5,8 +5,8 @@
|
||||
*
|
||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||
*/
|
||||
static char *font = "mono:pixelsize=12:antialias=true:autohint=true";
|
||||
static char *font2[] = { "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true" };
|
||||
static char *font = "monospace:pixelsize=32:antialias=true:autohint=true";
|
||||
static char *font2[] = { "monospace:pixelsize=32:antialias=true:autohint=true" };
|
||||
static int borderpx = 2;
|
||||
|
||||
/*
|
||||
@@ -245,6 +245,9 @@ static MouseShortcut mshortcuts[] = {
|
||||
static char *openurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -o", "externalpipe", NULL };
|
||||
static char *copyurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -c", "externalpipe", NULL };
|
||||
static char *copyoutput[] = { "/bin/sh", "-c", "st-copyout", "externalpipe", NULL };
|
||||
static char *copyemailcmd[] = { "/bin/sh", "-c", "st-emailhandler", "externalpipe", NULL };
|
||||
static char *weechat[] = { "/bin/sh", "-c", "st-weechatlinks", "externalpipe", NULL };
|
||||
|
||||
|
||||
static Shortcut shortcuts[] = {
|
||||
/* mask keysym function argument */
|
||||
@@ -280,9 +283,11 @@ static Shortcut shortcuts[] = {
|
||||
{ TERMMOD, XK_J, zoom, {.f = -1} },
|
||||
{ TERMMOD, XK_U, zoom, {.f = +2} },
|
||||
{ TERMMOD, XK_D, zoom, {.f = -2} },
|
||||
{ MODKEY, XK_Return, newterm, {.i = 0} },
|
||||
{ MODKEY, XK_l, externalpipe, {.v = openurlcmd } },
|
||||
{ MODKEY, XK_y, externalpipe, {.v = copyurlcmd } },
|
||||
{ MODKEY, XK_o, externalpipe, {.v = copyoutput } },
|
||||
{ MODKEY, XK_x, externalpipe, {.v = weechat} },
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user