Refactor: move terminal/shell detection to own header

This commit is contained in:
Linus Dierheimer
2022-07-26 18:06:30 +02:00
parent 5c1aa20042
commit 0c81d3e894
12 changed files with 37 additions and 23 deletions
+1
View File
@@ -1,5 +1,6 @@
#include "fastfetch.h"
#include "common/printing.h"
#include "detection/terminalshell.h"
#define FF_SHELL_MODULE_NAME "Shell"
#define FF_SHELL_NUM_FORMAT_ARGS 7
+1
View File
@@ -1,5 +1,6 @@
#include "fastfetch.h"
#include "common/printing.h"
#include "detection/terminalshell.h"
#include <string.h>
+1
View File
@@ -5,6 +5,7 @@
#include "common/settings.h"
#include "common/processing.h"
#include "detection/displayserver.h"
#include "detection/terminalshell.h"
#define FF_TERMFONT_MODULE_NAME "Terminal Font"
#define FF_TERMFONT_NUM_FORMAT_ARGS 5