Fixed newterm patch for st§

This commit is contained in:
_N0x 2021-02-20 22:49:01 +01:00
parent 986e599eda
commit 983baa4d79
3 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,5 +1,7 @@
*.tar.gz *.tar.gz
*.o *.o
*.rej
*.orig
dmenu dmenu
stest stest
st st

View File

@ -206,6 +206,7 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} }, { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} }, { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
{ TERMMOD, XK_Return, newterm, {.i = 0} },
}; };
/* /*

View File

@ -83,6 +83,7 @@ void draw(void);
void kscrolldown(const Arg *); void kscrolldown(const Arg *);
void kscrollup(const Arg *); void kscrollup(const Arg *);
void newterm(const Arg *);
void printscreen(const Arg *); void printscreen(const Arg *);
void printsel(const Arg *); void printsel(const Arg *);
void sendbreak(const Arg *); void sendbreak(const Arg *);