diff --git a/README.md b/README.md index 97124b1..b2bd6be 100644 --- a/README.md +++ b/README.md @@ -32,15 +32,16 @@ afetch is written in C99, meaning that it should be able to be compiled with alm * Fedora (slow due to package manager) * FreeBSD * Gentoo -* Parabola -* postmarketOS * Manjaro +* Mint * NetBSD * NixOS * OpenBSD * OpenSUSE Leap (slow due to package manager) * OpenSUSE Tumbleweed (slow due to package manager) +* Parabola * Pop!_OS +* postmarketOS * Slackware * Solus * Ubuntu diff --git a/src/fetch.c b/src/fetch.c index c12a8bc..cb08642 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -294,6 +294,16 @@ void *os() info.col8 = BGREEN ""; info.getPkgCount = "dpkg -l | tail -n+6 | wc -l"; + } else if (strncmp(osname, "Linux Mint", 10) == 0) { + info.col1 = BGREEN " _____________ \n"; + info.col2 = BGREEN " |_ \\ "; + info.col3 = BGREEN " | | _____ | "; + info.col4 = BGREEN " | | | | | | "; + info.col5 = BGREEN " | | | | | | "; + info.col6 = BGREEN " | \\_____/ | "; + info.col7 = BGREEN " \\___________/ "; + info.col8 = BGREEN "\n"; + info.getPkgCount = "dpkg -l | tail -n+6 | wc -l"; } else if (strncmp(osname, "Manjaro", 7) == 0) { info.col1 = BGREEN " ________ __ \n"; info.col2 = BGREEN "| | | |";