diff --git a/assets/preview.png b/assets/preview.png index 14cef77..546ca1c 100644 Binary files a/assets/preview.png and b/assets/preview.png differ diff --git a/tinierfetch.cpp b/tinierfetch.cpp index 1ab5619..de56d24 100644 --- a/tinierfetch.cpp +++ b/tinierfetch.cpp @@ -1,4 +1,4 @@ #include #define e getenv -#define p << -int main() { std::cout p "\e[31muser:\e[0m " p e("USER") p "\n\e[32msh:\e[0m " p e("SHELL") p "\n\e[33mterm:\e[0m " p e("TERM") p "\n\e[34mlocale:\e[0m " p e("LANG") p "\n\x1b[35mcolors: \x1b[0m\x1b[41m \x1b[42m \x1b[43m \x1b[44m " "\x1b[45m \x1b[0m\n"; return 0;} +#define i << +int main() { std::cout i "\e[31muser:\e[0m " i e("USER") i "\n\e[32msh:\e[0m " i e("SHELL") i "\n\e[33mterm:\e[0m " i e("TERM") i "\n\e[34mlocale:\e[0m " i e("LANG") i "\n\x1b[35mcolors: \x1b[0m\x1b[41m \x1b[42m \x1b[43m \x1b[44m " "\x1b[45m \x1b[0m\n"; return 0;}