1
0
mirror of https://github.com/tiyn/st synced 2026-01-11 12:49:46 +01:00

2 Commits

Author SHA1 Message Date
acb78a095f expanded gitignore 2025-11-16 10:26:57 +01:00
90aa7ddb9c set fonts 2025-11-16 10:26:05 +01:00
2 changed files with 12 additions and 2 deletions

2
.gitignore vendored
View File

@@ -52,3 +52,5 @@ Mkfile.old
dkms.conf dkms.conf
st st
config.h

View File

@@ -8,6 +8,14 @@
static char *font = "mono:pixelsize=16:antialias=true:autohint=true"; static char *font = "mono:pixelsize=16:antialias=true:autohint=true";
static int borderpx = 2; static int borderpx = 2;
/* Spare fonts */
static char *font2[] = {
"JoyPixels:pixelsize=16:antialias=true:autohint=true",
"Symbola:pixelsize=16:antialias=true:autohint=true",
"Source Han Mono:pixelsize=16:antialias=true:autohint=true",
"Source Han Mono K:pixelsize=16:antialias=true:autohint=true",
};
/* /*
* What program is execed by st depends of these precedence rules: * What program is execed by st depends of these precedence rules:
* 1: program passed with -e * 1: program passed with -e
@@ -174,8 +182,8 @@ static uint forcemousemod = ShiftMask;
*/ */
static MouseShortcut mshortcuts[] = { static MouseShortcut mshortcuts[] = {
/* mask button function argument release */ /* mask button function argument release */
{ Button4, XK_NO_MOD, "\031" }, // { Button4, XK_NO_MOD, "\031" },
{ Button5, XK_NO_MOD, "\005" }, // { Button5, XK_NO_MOD, "\005" },
{ XK_NO_MOD, Button4, kscrollup, {.i = 1} }, { XK_NO_MOD, Button4, kscrollup, {.i = 1} },
{ XK_NO_MOD, Button5, kscrolldown,{.i = 1} }, { XK_NO_MOD, Button5, kscrolldown,{.i = 1} },
}; };