mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-02 05:01:58 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 50ddafe7f9 |
@@ -4,7 +4,6 @@ Features:
|
|||||||
* Added display detection through the `org.gnome.Mutter.DisplayConfig` D-Bus interface on GNOME and Cinnamon Wayland sessions, which reports the primary monitor and the raw EDID directly instead of matching the `wl_output` name against the DRM connectors. A D-Bus enabled build is required. (Display, Linux)
|
* Added display detection through the `org.gnome.Mutter.DisplayConfig` D-Bus interface on GNOME and Cinnamon Wayland sessions, which reports the primary monitor and the raw EDID directly instead of matching the `wl_output` name against the DRM connectors. A D-Bus enabled build is required. (Display, Linux)
|
||||||
|
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
* Fixed shell detection when launched via mise. (#2686, Shell)
|
|
||||||
* Rejected an empty `separator.string` in the JSON config with an error message. (#2689, Separator)
|
* Rejected an empty `separator.string` in the JSON config with an error message. (#2689, Separator)
|
||||||
* Fixed fastfetch blocking forever when the terminal answered a terminal query only partially, for example with just one of the two OSC 10/11 color replies. (Logo / Terminal / TerminalTheme, Unix / Windows)
|
* Fixed fastfetch blocking forever when the terminal answered a terminal query only partially, for example with just one of the two OSC 10/11 color replies. (Logo / Terminal / TerminalTheme, Unix / Windows)
|
||||||
* Fixed a `$` ending a logo line or the logo itself being parsed as the start of a color code instead of a plain dollar sign. (#2666, Logo)
|
* Fixed a `$` ending a logo line or the logo itself being parsed as the start of a color code instead of a plain dollar sign. (#2666, Logo)
|
||||||
|
|||||||
@@ -59,8 +59,6 @@ static pid_t getShellInfo(FFShellResult* result, pid_t pid) {
|
|||||||
ffStrbufEqualS(&result->processName, "valgrind") ||
|
ffStrbufEqualS(&result->processName, "valgrind") ||
|
||||||
ffStrbufEqualS(&result->processName, "fastfetch") || // #994
|
ffStrbufEqualS(&result->processName, "fastfetch") || // #994
|
||||||
ffStrbufEqualS(&result->processName, "flashfetch") ||
|
ffStrbufEqualS(&result->processName, "flashfetch") ||
|
||||||
ffStrbufEqualS(&result->processName, "mise") ||
|
|
||||||
ffStrbufEqualS(&result->processName, "mise-shim") ||
|
|
||||||
ffStrbufEqualS(&result->processName, "proot") ||
|
ffStrbufEqualS(&result->processName, "proot") ||
|
||||||
ffStrbufEqualS(&result->processName, "script") ||
|
ffStrbufEqualS(&result->processName, "script") ||
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ static uint32_t getShellInfo(FFShellResult* result, uint32_t pid) {
|
|||||||
if (
|
if (
|
||||||
!gui && (ffStrbufIgnCaseEqualS(&result->prettyName, "sudo") || ffStrbufIgnCaseEqualS(&result->prettyName, "su") || ffStrbufIgnCaseEqualS(&result->prettyName, "gdb") || ffStrbufIgnCaseEqualS(&result->prettyName, "lldb") || ffStrbufIgnCaseEqualS(&result->prettyName, "lldb-dap") || ffStrbufIgnCaseEqualS(&result->prettyName, "python") || // python on windows generates shim executables
|
!gui && (ffStrbufIgnCaseEqualS(&result->prettyName, "sudo") || ffStrbufIgnCaseEqualS(&result->prettyName, "su") || ffStrbufIgnCaseEqualS(&result->prettyName, "gdb") || ffStrbufIgnCaseEqualS(&result->prettyName, "lldb") || ffStrbufIgnCaseEqualS(&result->prettyName, "lldb-dap") || ffStrbufIgnCaseEqualS(&result->prettyName, "python") || // python on windows generates shim executables
|
||||||
ffStrbufIgnCaseEqualS(&result->prettyName, "fastfetch") || // scoop warps the real binaries with a "shim" exe
|
ffStrbufIgnCaseEqualS(&result->prettyName, "fastfetch") || // scoop warps the real binaries with a "shim" exe
|
||||||
ffStrbufIgnCaseEqualS(&result->prettyName, "flashfetch") || ffStrbufIgnCaseEqualS(&result->prettyName, "mise") || ffStrbufIgnCaseEqualS(&result->prettyName, "mise-shim") || ffStrbufContainIgnCaseS(&result->prettyName, "debug") || ffStrbufContainIgnCaseS(&result->prettyName, "time") || ffStrbufStartsWithIgnCaseS(&result->prettyName, "ConEmuC") // https://github.com/fastfetch-cli/fastfetch/issues/488#issuecomment-1619982014
|
ffStrbufIgnCaseEqualS(&result->prettyName, "flashfetch") || ffStrbufContainIgnCaseS(&result->prettyName, "debug") || ffStrbufContainIgnCaseS(&result->prettyName, "time") || ffStrbufStartsWithIgnCaseS(&result->prettyName, "ConEmuC") // https://github.com/fastfetch-cli/fastfetch/issues/488#issuecomment-1619982014
|
||||||
)) {
|
)) {
|
||||||
ffStrbufClear(&result->processName);
|
ffStrbufClear(&result->processName);
|
||||||
ffStrbufClear(&result->prettyName);
|
ffStrbufClear(&result->prettyName);
|
||||||
|
|||||||
Reference in New Issue
Block a user