mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
add transparency and change font size
This takes effect only when using st as a scratchpad in dwm. Otherwise transparency value from xresources is used. Bug or a Feature??
This commit is contained in:
parent
15639f8e0e
commit
3181d6876b
4
config.h
4
config.h
@ -5,7 +5,7 @@
|
||||
*
|
||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||
*/
|
||||
static char *font = "JetBrains Mono:pixelsize=12:antialias=true:autohint=true";
|
||||
static char *font = "JetBrains Mono:pixelsize=13:antialias=true:autohint=true";
|
||||
#if FONT2_PATCH
|
||||
/* Spare fonts */
|
||||
static char *font2[] = {
|
||||
@ -166,7 +166,7 @@ unsigned int tabspaces = 8;
|
||||
|
||||
#if ALPHA_PATCH
|
||||
/* bg opacity */
|
||||
float alpha = 1.0;
|
||||
float alpha = 0.50;
|
||||
#if ALPHA_GRADIENT_PATCH
|
||||
float grad_alpha = 0.54; //alpha value that'll change
|
||||
float stat_alpha = 0.46; //constant alpha value that'll get added to grad_alpha
|
||||
|
Loading…
Reference in New Issue
Block a user