diff --git a/CHANGELOG.md b/CHANGELOG.md index de29ac606..d01a10ccc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 2.6.4 + +Features: +* Add new module `TerminalTheme` + # 2.6.3 Bugfixes: diff --git a/doc/json_schema.json b/doc/json_schema.json index 88ffbec0b..ce10159d8 100644 --- a/doc/json_schema.json +++ b/doc/json_schema.json @@ -648,6 +648,7 @@ "terminal", "terminalfont", "terminalsize", + "terminaltheme", "title", "theme", "uptime", @@ -772,6 +773,10 @@ "const": "terminalsize", "description": "Print current terminal size" }, + { + "const": "terminaltheme", + "description": "Print current terminal theme (foreground and background colors)" + }, { "const": "theme", "description": "Print current theme of desktop environment" diff --git a/presets/all.jsonc b/presets/all.jsonc index 53b553aea..06a415963 100644 --- a/presets/all.jsonc +++ b/presets/all.jsonc @@ -28,6 +28,7 @@ "terminal", "terminalfont", "terminalsize", + "terminaltheme", "cpu", "cpuusage", "gpu", diff --git a/presets/ci.jsonc b/presets/ci.jsonc index 0283d9ec2..833f8a4d7 100644 --- a/presets/ci.jsonc +++ b/presets/ci.jsonc @@ -34,6 +34,7 @@ "terminal", "terminalfont", "terminalsize", + "terminaltheme", "cpu", "cpuusage", "gpu", diff --git a/src/fastfetch.c b/src/fastfetch.c index 68bcea67f..9fdfff513 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -300,7 +300,7 @@ static void listModules(bool pretty) { ++count; if (pretty) - printf("%d)%s%-13s: %s\n", count, count > 9 ? " " : " ", (*modules)->name, (*modules)->description); + printf("%d)%s%-14s: %s\n", count, count > 9 ? " " : " ", (*modules)->name, (*modules)->description); else printf("%s:%s\n", (*modules)->name, (*modules)->description); }