summaryrefslogtreecommitdiffstats
path: root/lexer/theme-parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'lexer/theme-parser.y')
-rw-r--r--lexer/theme-parser.y6
1 files changed, 6 insertions, 0 deletions
diff --git a/lexer/theme-parser.y b/lexer/theme-parser.y
index 2a13f1a2..d520c299 100644
--- a/lexer/theme-parser.y
+++ b/lexer/theme-parser.y
@@ -42,6 +42,7 @@ int yylex (YYSTYPE *, YYLTYPE *);
%token <bval> T_BOOLEAN
%token <colorval> T_COLOR
%token <distance> T_PIXEL
+%token <sval> T_LINK
%token <sval> FIRST_NAME
%token BOPEN "bracket open";
@@ -146,6 +147,11 @@ property
$$->name = $1;
$$->value.s = $3;
}
+| pvalue PSEP T_LINK PCLOSE {
+ $$ = rofi_theme_property_create ( P_LINK );
+ $$->name = $1;
+ $$->value.link.name = $3;
+ }
| pvalue PSEP T_BOOLEAN PCLOSE {
$$ = rofi_theme_property_create ( P_BOOLEAN );
$$->name = $1;