From ae0323211ba4a19fa13d56e0180cd5c915568adf Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 18 Sep 2017 07:49:24 +0200 Subject: [PATCH] small update to default theme --- include/default-theme.h | 2 +- lexer/theme-lexer.l | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/default-theme.h b/include/default-theme.h index 045044a6..f866d49f 100644 --- a/include/default-theme.h +++ b/include/default-theme.h @@ -137,7 +137,7 @@ const char *default_theme = " background-color: @selected-normal-background;" " text-color: @selected-normal-foreground;" "}" - "#inputbar, case-indicator, entry, prompt {" + "#inputbar, case-indicator, entry, prompt, button {" " spacing: 0;" " text-color: @normal-foreground;" "}"; diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l index 5ea7e753..391ed3b8 100644 --- a/lexer/theme-lexer.l +++ b/lexer/theme-lexer.l @@ -457,7 +457,7 @@ if ( queue == NULL ){ yylval->colorval.blue = rofi_theme_parse_convert_hex(yytext[3],yytext[3]); return T_COLOR; } -argb:{HEX}{7,8} { +argb:{HEX}{8} { yylval->colorval.alpha = rofi_theme_parse_convert_hex(yytext[5],yytext[6]); yylval->colorval.red = rofi_theme_parse_convert_hex(yytext[7],yytext[8]); yylval->colorval.green = rofi_theme_parse_convert_hex(yytext[9],yytext[10]);