better handling of WM / DE

This commit is contained in:
Linus Dierheimer
2021-04-25 21:32:35 +02:00
parent e9cf1c0252
commit 2a29d3ed17
5 changed files with 156 additions and 108 deletions
+6 -5
View File
@@ -301,16 +301,17 @@ static inline void printCommandHelp(const char* command)
else if(strcasecmp(command, "de-format") == 0)
{
constructAndPrintCommandHelpFormat("de", "{} {} ({})", 3,
"DE name",
"DE version",
"Name of display server"
"Session desktop",
"Session name",
"Session version"
);
}
else if(strcasecmp(command, "wm-format") == 0)
{
constructAndPrintCommandHelpFormat("wm", "{2}", 2,
constructAndPrintCommandHelpFormat("wm", "{2} {3}", 3,
"WM process name",
"WM pretty name"
"WM pretty name",
"WM protocol name"
);
}
else if(strcasecmp(command, "wm-theme-format") == 0)