Theme: split detection code

This commit is contained in:
李通洲
2023-06-08 14:32:15 +08:00
parent 4af44a40bf
commit ee876c54bf
6 changed files with 101 additions and 91 deletions
+2 -8
View File
@@ -207,14 +207,8 @@ static inline void printCommandHelp(const char* command)
}
else if(strcasecmp(command, "theme-format") == 0)
{
constructAndPrintCommandHelpFormat("theme", "{} ({3}) [Plasma], {7}", 7,
"Plasma theme",
"Plasma color scheme",
"Plasma color scheme pretty",
"GTK2 theme",
"GTK3 theme",
"GTK4 theme",
"Combined GTK themes"
constructAndPrintCommandHelpFormat("theme", "{}", 1,
"Combined themes"
);
}
else if(strcasecmp(command, "icons-format") == 0)