From 00a5f1bf3f30e2d5ea7e81dd77b23fbadfdf9514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 20 Jul 2023 11:14:30 +0800 Subject: [PATCH] Title: fix option `--title-fqdn` doesn't work --- CHANGELOG.md | 1 + src/fastfetch.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d11708a4..76d94c2fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ Bugfixes: * Fix false errors when built without libnm support (Wifi, Linux) * Properly detect CPU on POWER (CPU, Linux) * Fix compatibility with Fig (Terminal, macOS) +* Fix option `--title-fqdn` doesn't work (Title) Logo: * Change the special handling of `kitty` protocol with `.png` image file to a new image protocol `kitty-direct`. This is the fastest image protocol because fastfetch doesn't need to pre-encode the image to base64 or something and the image content doesn't need to be transmitted via tty. Note: diff --git a/src/fastfetch.c b/src/fastfetch.c index fe55857fc..25a7a448e 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -962,6 +962,7 @@ static void parseOption(FFdata* data, const char* key, const char* value) else if(ffParseWifiCommandOptions(&instance.config.wifi, key, value)) {} else if(ffParseWMCommandOptions(&instance.config.wm, key, value)) {} else if(ffParseWMThemeCommandOptions(&instance.config.wmTheme, key, value)) {} + else if(ffParseTitleCommandOptions(&instance.config.title, key, value)) {} else if(ffParseThemeCommandOptions(&instance.config.theme, key, value)) {} else if(ffParseIconsCommandOptions(&instance.config.icons, key, value)) {} else if(ffParseWallpaperCommandOptions(&instance.config.wallpaper, key, value)) {}