From 463ed01e43c7fe8fba3481f8f6e3f5b8c74286e6 Mon Sep 17 00:00:00 2001 From: NPScript Date: Tue, 21 Dec 2021 10:41:00 +0100 Subject: add config header --- config.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..84e5adb --- /dev/null +++ b/config.h @@ -0,0 +1,25 @@ + +int PREVIEW_BORDER_COLOR[3] = {40, 74, 53}; +int MAIN_BORDER_COLOR[3] = {60, 103, 84}; + +int SELECTED_BG[3] = {60, 103, 84}; +int SELECTED_FG[3] = {0, 0, 0}; + +int PREVIEW_COMMENT[3] = {100, 100, 100}; +int ERROR[3] = {180, 60, 60}; + + +/* Character representing D-Type */ +const char DTC[] = { + [DT_BLK] = 'b', /* block device */ + [DT_CHR] = 'c', /* character device */ + [DT_DIR] = 'd', /* directory */ + [DT_FIFO] = 'F', /* named pipe [FIFO] */ + [DT_LNK] = 'l', /* symbolic link */ + [DT_REG] = 'f', /* regular file */ + [DT_SOCK] = 's', /* UNIX domain socket */ + [DT_UNKNOWN] = '?', /* unknown */ +}; + +/* Size Unit Descriptors */ +const char * SUNIT[] = {"B", "KiB", "MiB", "GiB", "TiB"}; -- cgit v1.2.3-70-g09d2