| Hash | Commit message | Author | Date | Files | + | - |
1 | commit bf5b6a86e7cc64c6e69ae95b4340f09c54117c6d |
2 | Author: Connor Etherington <[email protected]> |
3 | Date: Wed Mar 2 20:50:53 2022 +0200 |
4 | |
5 | Update. |
6 | --- |
7 | boxdraw.o | Bin 7728 -> 0 bytes |
8 | config.h | 49 +++++++++++++++++++++++++------------------------ |
9 | hb.o | Bin 4592 -> 0 bytes |
10 | st | Bin 120984 -> 0 bytes |
11 | st.o | Bin 79752 -> 0 bytes |
12 | x.o | Bin 88504 -> 0 bytes |
13 | 6 files changed, 25 insertions(+), 24 deletions(-) |
14 | |
15 | diff --git a/boxdraw.o b/boxdraw.o |
16 | deleted file mode 100644 |
17 | index 3080fdc..0000000 |
18 | Binary files a/boxdraw.o and /dev/null differ |
19 | diff --git a/config.h b/config.h |
20 | index 1803591..4c20e4a 100644 |
21 | --- a/config.h |
22 | +++ b/config.h |
23 | @@ -6,11 +6,12 @@ |
24 | * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html |
25 | */ |
26 | |
27 | -//static char *font = "Mononoki Nerd Font:pixelsize=18:antialias=true:autohint=true"; |
28 | -static char *font = "mono:pixelsize=16:antialias=true:autohint=true"; |
29 | +// static char *font = "mono:pixelsize=16:antialias=true:autohint=true"; |
30 | +// static char *font = "Mononoki Nerd Font:pixelsize=18:antialias=true:autohint=true"; |
31 | +static char *font = "Anonymice Nerd Font Mono:pixelsize=18:antialias=true:autohint=true"; |
32 | static char *font2[] = { "JoyPixels:pixelsize=10:antialias=true:autohint=true" }; |
33 | |
34 | -static int borderpx = 2; |
35 | +static int borderpx = 5; |
36 | |
37 | /* |
38 | * What program is execed by st depends of these precedence rules: |
39 | @@ -49,7 +50,7 @@ int allowaltscreen = 1; |
40 | |
41 | /* allow certain non-interactive (insecure) window operations such as: |
42 | setting the clipboard text */ |
43 | -int allowwindowops = 0; |
44 | +int allowwindowops = 1; |
45 | |
46 | /* |
47 | * draw latency range in ms - from new content/keypress/etc until drawing. |
48 | @@ -77,8 +78,8 @@ static unsigned int cursorthickness = 2; |
49 | * Bold affects lines thickness if boxdraw_bold is not 0. Italic is ignored. |
50 | * 0: disable (render all U25XX glyphs normally from the font). |
51 | */ |
52 | -const int boxdraw = 1; |
53 | -const int boxdraw_bold = 0; |
54 | +const int boxdraw = 12; |
55 | +const int boxdraw_bold = 4; |
56 | |
57 | /* braille (U28XX): 1: render as adjacent "pixels", 0: use font */ |
58 | const int boxdraw_braille = 0; |
59 | @@ -107,10 +108,10 @@ char *termname = "st-256color"; |
60 | * |
61 | * stty tabs |
62 | */ |
63 | -unsigned int tabspaces = 8; |
64 | +unsigned int tabspaces = 4; |
65 | |
66 | /* bg opacity */ |
67 | -float alpha = 0.8; |
68 | +float alpha = 0.9; |
69 | float alphaOffset = 0.0; |
70 | float alphaUnfocus; |
71 | |
72 | @@ -164,8 +165,8 @@ static unsigned int cursorshape = 2; |
73 | * Default columns and rows numbers |
74 | */ |
75 | |
76 | -static unsigned int cols = 80; |
77 | -static unsigned int rows = 24; |
78 | +static unsigned int cols = 70; |
79 | +static unsigned int rows = 20; |
80 | |
81 | /* |
82 | * Default colour and shape of the mouse cursor |
83 | @@ -178,7 +179,7 @@ static unsigned int mousebg = 0; |
84 | * Color used to display font attributes when fontconfig selected a font which |
85 | * doesn't match the ones requested. |
86 | */ |
87 | -static unsigned int defaultattr = 11; |
88 | +static unsigned int defaultattr = 0; |
89 | |
90 | /* |
91 | * Force mouse select/shortcuts while mask is active (when MODE_MOUSE is set). |
92 | @@ -241,11 +242,12 @@ static MouseShortcut mshortcuts[] = { |
93 | }; |
94 | |
95 | /* Internal keyboard shortcuts. */ |
96 | -#define MODKEY Mod4Mask |
97 | -#define MOD1KEY Mod1Mask |
98 | +#define MODKEY Mod1Mask |
99 | #define MOD2KEY Mod2Mask |
100 | #define MOD3KEY Mod3Mask |
101 | -#define TERMMOD (Mod4Mask|ShiftMask) |
102 | +#define MOD4KEY Mod4Mask |
103 | +#define TERMMOD (Mod1Mask|ShiftMask) |
104 | +#define TERM2MOD (ControlMask|ShiftMask) |
105 | |
106 | static char *openurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -o", "externalpipe", NULL }; |
107 | static char *copyurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -c", "externalpipe", NULL }; |
108 | @@ -258,15 +260,14 @@ static Shortcut shortcuts[] = { |
109 | { ControlMask, XK_Print, toggleprinter, {.i = 0} }, |
110 | { ShiftMask, XK_Print, printscreen, {.i = 0} }, |
111 | { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, |
112 | - { TERMMOD, XK_Prior, zoom, {.f = +1} }, |
113 | - { TERMMOD, XK_Next, zoom, {.f = -1} }, |
114 | - { TERMMOD, XK_Home, zoomreset, {.f = 0} }, |
115 | - { TERMMOD, XK_C, clipcopy, {.i = 0} }, |
116 | - { TERMMOD, XK_V, clippaste, {.i = 0} }, |
117 | + { MODKEY, XK_Prior, zoom, {.f = +1} }, |
118 | + { MODKEY, XK_Next, zoom, {.f = -1} }, |
119 | + { MODKEY, XK_Home, zoomreset, {.f = 0} }, |
120 | + { MODKEY, XK_C, clipcopy, {.i = 0} }, |
121 | { MODKEY, XK_c, clipcopy, {.i = 0} }, |
122 | - { ShiftMask, XK_Insert, clippaste, {.i = 0} }, |
123 | + { MODKEY, XK_Insert, clippaste, {.i = 0} }, |
124 | { MODKEY, XK_v, clippaste, {.i = 0} }, |
125 | - { ShiftMask, XK_Insert, selpaste, {.i = 0} }, |
126 | + { TERMMOD, XK_Insert, selpaste, {.i = 0} }, |
127 | { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, |
128 | { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} }, |
129 | { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} }, |
130 | @@ -277,15 +278,15 @@ static Shortcut shortcuts[] = { |
131 | { MODKEY, XK_Up, kscrollup, {.i = 1} }, |
132 | { MODKEY, XK_Down, kscrolldown, {.i = 1} }, |
133 | { MODKEY, XK_u, kscrollup, {.i = -1} }, |
134 | - { MODKEY, XK_d, kscrolldown, {.i = -1} }, |
135 | - { MODKEY, XK_s, changealpha, {.f = -0.05} }, |
136 | - { MODKEY, XK_a, changealpha, {.f = +0.05} }, |
137 | { TERMMOD, XK_Up, zoom, {.f = +1} }, |
138 | { TERMMOD, XK_Down, zoom, {.f = -1} }, |
139 | { TERMMOD, XK_K, zoom, {.f = +1} }, |
140 | { TERMMOD, XK_J, zoom, {.f = -1} }, |
141 | { TERMMOD, XK_U, zoom, {.f = +2} }, |
142 | { TERMMOD, XK_D, zoom, {.f = -2} }, |
143 | + { MODKEY, XK_d, kscrolldown, {.i = -1} }, |
144 | + { MODKEY, XK_s, changealpha, {.f = -0.05} }, |
145 | + { MODKEY, XK_a, changealpha, {.f = +0.05} }, |
146 | { MODKEY, XK_l, externalpipe, {.v = openurlcmd } }, |
147 | { MODKEY, XK_y, externalpipe, {.v = copyurlcmd } }, |
148 | { MODKEY, XK_o, externalpipe, {.v = copyoutput } }, |
149 | diff --git a/hb.o b/hb.o |
150 | deleted file mode 100644 |
151 | index 346d766..0000000 |
152 | Binary files a/hb.o and /dev/null differ |
153 | diff --git a/st b/st |
154 | deleted file mode 100755 |
155 | index 44b2804..0000000 |
156 | Binary files a/st and /dev/null differ |
157 | diff --git a/st.o b/st.o |
158 | deleted file mode 100644 |
159 | index fd6ebdc..0000000 |
160 | Binary files a/st.o and /dev/null differ |
161 | diff --git a/x.o b/x.o |
162 | deleted file mode 100644 |
163 | index 7db4f3a..0000000 |
164 | Binary files a/x.o and /dev/null differ |