File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,13 @@ static void detectLXQt(FFQtResult* result)
135135 ffParsePropFileConfig ("pcmanfm-qt/lxqt/settings.conf" , "Wallpaper=" , & result -> wallpaper );
136136}
137137
138+ static void detectKvantum (FFQtResult * result )
139+ {
140+ ffParsePropFileConfigValues ("Kvantum/kvantum.kvconfig" , 1 , (FFpropquery []) {
141+ {"theme=" , & result -> widgetStyle },
142+ });
143+ }
144+
138145const FFQtResult * ffDetectQt (void )
139146{
140147 static FFQtResult result ;
@@ -157,5 +164,11 @@ const FFQtResult* ffDetectQt(void)
157164 else if (ffStrbufIgnCaseEqualS (& wmde -> dePrettyName , FF_DE_PRETTY_LXQT ))
158165 detectLXQt (& result );
159166
167+ if (ffStrbufEqualS (& result .widgetStyle , "kvantum" ) || ffStrbufEqualS (& result .widgetStyle , "kvantum-dark" ))
168+ {
169+ ffStrbufClear (& result .widgetStyle );
170+ detectKvantum (& result );
171+ }
172+
160173 return & result ;
161174}
You can’t perform that action at this time.
0 commit comments