summaryrefslogtreecommitdiffstats
path: root/lexer
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2021-08-17 11:05:03 +0200
committerDave Davenport <qball@blame.services>2021-08-17 11:05:03 +0200
commit47f26ca2f144db9d46c201b004317d4a56aff2ed (patch)
tree6963ece7717a1d59a932aaa2c57b717fb98a27ec /lexer
parent4bd370dd1ae08b0ecff8961880f0783198e37b50 (diff)
[IconFetcher] Look for images in theme directories.
Diffstat (limited to 'lexer')
-rw-r--r--lexer/theme-lexer.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l
index 3f3dab8a..4f288454 100644
--- a/lexer/theme-lexer.l
+++ b/lexer/theme-lexer.l
@@ -367,7 +367,7 @@ if ( queue == NULL ) {
yytext[yyleng-1] = '\0';
ParseObject *top = g_queue_peek_head ( file_queue );
g_assert ( top != NULL );
- char *file2 = helper_get_theme_path ( &yytext[1] );
+ char *file2 = helper_get_theme_path ( &yytext[1], ".rasi" );
char *filename = rofi_theme_parse_prepare_file ( file2, top->filename );
g_free ( file2 );
if ( g_list_find_custom ( imported_files, filename, (GCompareFunc)g_strcmp0 ) != NULL ) {
@@ -778,7 +778,7 @@ if ( queue == NULL ) {
gboolean rofi_theme_parse_file ( const char *file )
{
- char *file2 = helper_get_theme_path ( file );
+ char *file2 = helper_get_theme_path ( file, ".rasi" );
char *filename = rofi_theme_parse_prepare_file ( file2, NULL );
g_free ( file2 );