mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 22:40:54 +01:00
greatly improved WM / DE detection
This commit is contained in:
1 parent
e3f3699b26
commit
f3c8ecacbb
8 files changed
+370
-276
No files matched your search
+6
-4
@@ -301,15 +301,17 @@ static inline void printCommandHelp(const char* command)
|
||||
}
|
||||
else if(strcasecmp(command, "de-format") == 0)
|
||||
{
|
||||
constructAndPrintCommandHelpFormat("de", "{} {} ({})", 3,
|
||||
constructAndPrintCommandHelpFormat("de", "{3} {4}", 4,
|
||||
"Session desktop",
|
||||
"Session name",
|
||||
"Session version"
|
||||
"DE process name",
|
||||
"DE pretty name",
|
||||
"DE version"
|
||||
);
|
||||
}
|
||||
else if(strcasecmp(command, "wm-format") == 0)
|
||||
{
|
||||
constructAndPrintCommandHelpFormat("wm", "{2} {3}", 3,
|
||||
constructAndPrintCommandHelpFormat("wm", "{3} ({4})", 4,
|
||||
"Session desktop",
|
||||
"WM process name",
|
||||
"WM pretty name",
|
||||
"WM protocol name"
|
||||
|
||||
Reference in new issue
Block a user