Files
scan/inc/config.h
T
2026-10-08 14:10:10 +02:00

71 lines
3.1 KiB
C

#ifndef __CONFIG_H
#define __CONFIG_H
#include "format.h"
/* -- colour and style configuration */
// additional information
// #define PERM_STYLE_NUM ( ( int )1 )
// const style_t permission_style[ PERM_STYLE_NUM ] = { style_none };
// const uint32_t permission_colour = 0xEEEEEE;
//
// #define DATE_STYLE_NUM ( ( int )1 )
// const style_t date_style[ DATE_STYLE_NUM ] = { style_none };
// const uint32_t date_colour = 0xEEEEEE;
//
// #define TYPE_STYLE_NUM ( ( int )1 )
// const style_t type_style[ TYPE_STYLE_NUM ] = { style_none };
// const uint32_t type_colour = 0xEEEEEE;
//
// #define SIZE_STYLE_NUM ( ( int )1 )
// const style_t size_style[ SIZE_STYLE_NUM ] = { style_none };
// const uint32_t size_colour = 0xEEEEEE;
// files by type
#define BLK_STYLE_NUM ( ( int )1 )
const style_t block_style[ BLK_STYLE_NUM ] = { style_none };
const uint32_t block_colour = 0xFFCC13;
#define CHAR_STYLE_NUM ( ( int )1 )
const style_t character_style[ CHAR_STYLE_NUM ] = { style_none };
const uint32_t character_colour = 0xEEEEEE;
#define DIR_STYLE_NUM ( ( int )1 )
const style_t directory_style[ DIR_STYLE_NUM ] = { style_bold };
const uint32_t directory_colour = 0x6CA05C;
#define FIFO_STYLE_NUM ( ( int )1 )
const style_t fifo_style[ FIFO_STYLE_NUM ] = { style_none };
const uint32_t fifo_colour = 0xEEEEEE;
#define LINK_STYLE_NUM ( ( int )1 )
const style_t link_style[ LINK_STYLE_NUM ] = { style_none };
const uint32_t link_colour = 0x19D1DE;
#define BLNK_STYLE_NUM ( ( int )1 )
const style_t brokenlink_style[ BLNK_STYLE_NUM ] = { style_none };
const uint32_t brokenlink_colour = 0xC00008;
#define SOCK_STYLE_NUM ( ( int )1 )
const style_t socket_style[ SOCK_STYLE_NUM ] = { style_none };
const uint32_t socket_colour = 0xEEEEEE;
#define EXEC_STYLE_NUM ( ( int )1 )
const style_t exec_style[ EXEC_STYLE_NUM ] = { style_none };
const uint32_t exec_colour = 0xEEEEEE;
// files by extension
#define MAKE_STYLE_NUM ( ( int )1 )
const style_t makefile_style[ MAKE_STYLE_NUM ] = { style_none };
const uint32_t makefile_colour = 0xEAE977;
#define SRC_STYLE_NUM ( ( int )1 )
const style_t source_style[ SRC_STYLE_NUM ] = { style_none };
const uint32_t source_colour = 0x6FADD8;
#define AR_STYLE_NUM ( ( int )1 )
const style_t archive_style[ AR_STYLE_NUM ] = { style_none };
const uint32_t archive_colour = 0x6FADD8;
#endif