Update st to 0.9.

This commit is contained in:
Bartek Stalewski 2022-10-18 23:19:32 +02:00
parent 5e26689677
commit 49b1440524
9 changed files with 4223 additions and 4222 deletions

View file

@ -4,7 +4,7 @@
These patches from suckless.org were applied from the newest versions, in order:
1. `st-font2-20190416-ba72400.diff`
1. `st-font2-0.8.5.diff`
1. `st-hidecursor-0.8.3.diff`
1. `st-scrollback-0.8.5.diff`
1. `st-externalpipe-0.8.4.diff`

View file

@ -9,7 +9,7 @@ static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
/* Spare fonts */
static char *font2[] = {
/* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */
"Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true",
/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */
};
static int borderpx = 2;

View file

@ -190,6 +190,7 @@ static MouseShortcut mshortcuts[] = {
static char *openurlcmd[] = {"/bin/sh", "-c", "xurls | dmenu -c -l 20 -i | xargs -r $BROWSER",
"externalpipe", NULL};
static Shortcut shortcuts[] = {
/* mask keysym function argument */
{ MODKEY, XK_equal, zoom, {.f = +2} },

View file

@ -1,5 +1,5 @@
# st version
VERSION = 0.8.5
VERSION = 0.9
# Customize below to fit your system

View file

@ -955,7 +955,7 @@ ttyresize(int tw, int th)
}
void
ttyhangup()
ttyhangup(void)
{
/* Send SIGHUP to shell */
kill(pid, SIGHUP);

View file

@ -87,9 +87,9 @@ void die(const char *, ...);
void redraw(void);
void draw(void);
void externalpipe(const Arg *);
void kscrolldown(const Arg *);
void kscrollup(const Arg *);
void externalpipe(const Arg *);
void printscreen(const Arg *);
void printsel(const Arg *);
void sendbreak(const Arg *);