some comments

This commit is contained in:
speedie 2022-12-20 15:34:36 +01:00
parent da23f22fa5
commit e02ebc27ef
2 changed files with 7 additions and 5 deletions

View file

@ -32,11 +32,11 @@ static char *powerlinecolors[][2] = {
[SchemeBorderSel] = { col_powerline5_text, col_powerline5 },
[SchemeBorderUrg] = { col_powerline6_text, col_powerline6 },
[SchemeStatus] = { col_powerline7_text, col_powerline7 },
/* fg bg */
};
/* Alpha to use for the powerlines */
static unsigned int powerlinealphas[][3] = {
/* fg bg unused */
[SchemeBar] = { opaque, powerlineopacity, powerlineopacity },
[SchemeTagsNorm] = { opaque, powerlineopacity, powerlineopacity },
[SchemeTagsSel] = { opaque, powerlineopacity, powerlineopacity },
@ -46,6 +46,7 @@ static unsigned int powerlinealphas[][3] = {
[SchemeBorderSel] = { opaque, powerlineopacity, powerlineopacity },
[SchemeBorderUrg] = { opaque, powerlineopacity, powerlineopacity },
[SchemeStatus] = { opaque, powerlineopacity, powerlineopacity },
/* fg bg unused */
};
/* Colors for the status bar (.Xresources) */

View file

@ -432,6 +432,7 @@ typedef struct {
void *dst;
} ResourcePref;
/* This is just here so we can include status.h without issues */
typedef struct {
char *name;
enum resource_type type;