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:
mintycube 2024-07-10 11:32:52 +05:00
parent 15639f8e0e
commit 3181d6876b

View File

@ -5,7 +5,7 @@
* *
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html * 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 #if FONT2_PATCH
/* Spare fonts */ /* Spare fonts */
static char *font2[] = { static char *font2[] = {
@ -166,7 +166,7 @@ unsigned int tabspaces = 8;
#if ALPHA_PATCH #if ALPHA_PATCH
/* bg opacity */ /* bg opacity */
float alpha = 1.0; float alpha = 0.50;
#if ALPHA_GRADIENT_PATCH #if ALPHA_GRADIENT_PATCH
float grad_alpha = 0.54; //alpha value that'll change 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 float stat_alpha = 0.46; //constant alpha value that'll get added to grad_alpha