Skip to content

Commit

Permalink
add support for standard mint
Browse files Browse the repository at this point in the history
  • Loading branch information
13-CF committed Jun 1, 2021
1 parent 1c12283 commit 43fbee2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions src/fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "| | | |";
Expand Down

0 comments on commit 43fbee2

Please sign in to comment.