paleofetch

mrgrouse's paleofetch fork, a system fetch tool written in C, inspired by suckless' programming style.
Log | Files | Refs | README | LICENSE

config.h (1815B)


      1 #include "logos/parch.h"
      2 #define COLOR "\e[1;36m"
      3 
      4 #define CONFIG \
      5 { \
      6    /* name            function                 cached */\
      7     { "",                   get_title,               false }, \
      8     { " ├──────────────────────────────",get_gpu2,false }, \
      9     { " ├──────────────────────────",get_gpu2,      false }, \
     10     { "  ├─  Distro    ",   get_os,                true  }, \
     11     { " ├─  Kernel    ",   get_kernel,            true  }, \
     12     { " ├─ 󰅐 Up Time   ",   get_uptime,            false }, \
     13     { "  ├─  Packages  ",   get_packages_pacman,   false }, \
     14     { "   ├─  Terminal  ",   get_terminal,          false }, \
     15 }
     16     /*{   "Host: ",           get_host,              true  }, */\
     17     /*{   "Battery: ",        get_battery_percentage,false }, */\
     18     /*{ " ├─  SHELL     ",   get_shell,             false }, */\
     19     /*{ " ├─  Res.      ",   get_resolution,        false }, */\
     20     /*{ " ├─ 󰍛 CPU       ",   get_cpu,               true  },*/ \
     21     /*{ " ├─ 󰍹 GPU       ",   get_gpu1,              true  },*/ \
     22     /*{ " ├─  RAM       ",   get_memory,            false }, */\
     23     /*{ " ├──────       ",   get_gpu2,              false }, */\
     24     /*SPACER \
     25     { "",                   get_colors1,             false }, \
     26     { "",                   get_colors2,             false }, */\
     27 
     28 #define CPU_CONFIG \
     29 { \
     30    REMOVE("(R)"), \
     31    REMOVE("(TM)"), \
     32    REMOVE("Dual-Core"), \
     33    REMOVE("Quad-Core"), \
     34    REMOVE("Six-Core"), \
     35    REMOVE("Eight-Core"), \
     36    REMOVE("Core"), \
     37    REMOVE("CPU"), \
     38 }
     39 
     40 #define GPU_CONFIG \
     41 { \
     42     REMOVE("Corporation"), \
     43 }