diff options
Diffstat (limited to 'lexer/theme-parser.y')
-rw-r--r-- | lexer/theme-parser.y | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lexer/theme-parser.y b/lexer/theme-parser.y index 5fb304c7..94bf3cd3 100644 --- a/lexer/theme-parser.y +++ b/lexer/theme-parser.y @@ -556,6 +556,14 @@ t_property_element $$->value.image.dir = $4; $$->value.image.colors = $6; } +| T_LINEAR_GRADIENT T_PARENT_LEFT t_property_color_value_angle T_COMMA t_color_list T_PARENT_RIGHT { + $$ = rofi_theme_property_create ( P_IMAGE ); + $$->value.image.type = ROFI_IMAGE_LINEAR_GRADIENT; + $$->value.image.dir = ROFI_DIRECTION_ANGLE; + $$->value.image.angle = $3; + $$->value.image.colors = $5; +} + ; t_property_direction |