more work, added pango back

This commit is contained in:
Luca Bilke 2024-02-03 16:48:48 +01:00
commit 426bedbf86
No known key found for this signature in database
GPG key ID: AD6630D0A1E650AC
4 changed files with 13 additions and 23 deletions

View file

@ -21,24 +21,14 @@ static int floatposgrid_x = 5;
static int floatposgrid_y = 3;
static const unsigned int systrayspacing = 0;
static const int showsystray = 1;
static const unsigned int ulinepad = 5; /* horizontal padding between the underline and tag */
static const unsigned int ulinestroke = 2; /* thickness / height of the underline */
static const unsigned int ulinevoffset = 0; /* how far above the bottom of the bar the line should appear */
static const int ulineall = 0;
/* Indicators: see patch/bar_indicators.h for options */
static int tagindicatortype = INDICATOR_NONE;
static int tiledindicatortype = INDICATOR_NONE;
static int floatindicatortype = INDICATOR_NONE;
static const char *fonts[] = {
"FiraCode Nerd Font Mono:pixelsize=14",
"FiraCode Nerd Font Mono:pixelsize=20",
"FiraCode Nerd Font Mono:pixelsize=30",
"Noto Color Emoji:pixelsize=14",
"FontAwesome:pixelsize=14"
};
static const char dmenufont[] = "FiraCode Nerd Font Mono:pixelsize=14";
static const char font[] = "FiraCode Nerd Font 28";
static const char dmenufont[] = "FiraCode Nerd Font:pixelsize=14";
#define NOCOLOR "#FF0000"
#define COLOR0 "#15161E"
@ -111,7 +101,6 @@ static char scratchnormbgcolor[] = COLOR0;
static char scratchnormbordercolor[] = BORDERNORM;
static char scratchnormfloatcolor[] = BORDERNORM;
static const unsigned int baralpha = 0xcc;
static const unsigned int borderalpha = OPAQUE;
static const unsigned int alphas[][3] = {
@ -192,8 +181,8 @@ static const Rule rules[] = {
RULE(.instance = "spfile", .scratchkey = 'f', .isfloating = 1, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spproc", .scratchkey = 'p', .isfloating = 1, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spwiki", .scratchkey = 'w', .isfloating = 1, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spvolm", .scratchkey = 'v', .isfloating = 1, .floatpos = "-4x -4y 900W 600H")
RULE(.instance = "spinet", .scratchkey = 'i', .isfloating = 1, .floatpos = "-4x -4y 800W 800H")
RULE(.instance = "spvolm", .scratchkey = 'v', .isfloating = 1, .floatpos = "100% 100% 900W 600H")
RULE(.instance = "spinet", .scratchkey = 'i', .isfloating = 1, .floatpos = "100% 100% 800W 800H")
};
/* Bar rules allow you to configure what is shown where on the bar, as well as
@ -250,9 +239,9 @@ static const Layout layouts[] = {
/* key definitions */
#define MODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, comboview, {.ui = 1 << TAG} }, \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, combotag, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }