Commit graph

292 commits

Author SHA1 Message Date
Pascal Puffke
ec1af43272
Fix CPU and GPU length based on terminal width
If the CPU or GPU name strings are longer than the terminal width minus 28, truncate them
2021-03-19 19:21:35 +01:00
zegolem
953397e178 Merge https://github.com/TheDarkBug/uwufetch into gpu-fix 2021-03-19 18:10:29 +01:00
zegolem
208c40c19e gpu: forced LANG environement variable to en_US before running lshw
Before, as my system is configured with LANG=fr_FR
so, lshw would output in french, and the program
couldn't find the right strings in the output,
and so, my GPU wasn't properly detected.

There may be other instances of similar issues
in the code, but for now, everything shows up
correctly for me.
2021-03-19 17:44:35 +01:00
TheDarkBug
3ada75bbaa Fixed -Wsign-compare. 2021-03-19 17:28:09 +01:00
TheDarkBug
7f26eb72f9
Merge pull request #48 from zeGolem/cleaner-pkgmans
Code cleanup: rewrote pkgmans() to be cleaner
2021-03-19 17:23:35 +01:00
TheDarkBug
16fd121d50 Fixed #47, gpu_model[] min length is now 2. 2021-03-19 17:04:50 +01:00
zegolem
9e373494fe Code cleanup: rewrote pkgmans() to be cleaner
It uses now a `package_manager` struct, and is overall nicer to work
with, especially to add new package managers. You now just have to add a
new entry to the array.
2021-03-19 16:56:24 +01:00
TheDarkBug
c3af321196 New disclaimer in -h option, we need double-dash options (--opt) 2021-03-19 10:54:42 +01:00
TheDarkBug
fbadd43ad3 New ascii owosuse (I'm not an artist, so i created a minster), closed #44. 2021-03-18 23:22:12 +01:00
TheDarkBug
a73c3bf70c Rearranged comments and some variables initialization. 2021-03-18 22:53:32 +01:00
TheDarkBug
57e016e3dc
Merge pull request #45 from dqnk/main
added multi-gpu support - up to 8 gpus
2021-03-18 22:52:34 +01:00
dqnk
5d91c163cb added multi-gpu support - up to 8 gpus 2021-03-18 21:54:29 +01:00
TheDarkBug
596b2ce458 Replaced with (line 180), trying to fix #43 2021-03-17 10:38:48 +01:00
TheDarkBug
20958b6118 Fixed #42, shortened shell name for termux. 2021-03-16 20:25:09 +01:00
TheDarkBug
117dfe96dd Fixed #39 with gpu_name max length. 2021-03-16 15:26:25 +01:00
TheDarkBug
fbc9b49c90
Requisites section in README 2021-03-16 09:13:29 +01:00
TheDarkBug
a695c922f4 Theoretically fixed gpu name being too long, new 'Requisites' in readme, now uwufetch depends from lshw 2021-03-16 09:10:54 +01:00
TheDarkBug
694a09a47d Cpu name fix (#39) 2021-03-16 08:19:57 +01:00
TheDarkBug
839458713a
Merge pull request #41 from prettykool/main
Image bug fix, added -l to help page
2021-03-16 07:51:59 +01:00
PK
1e72210a14 Image bug fix, added -l to help page 2021-03-15 21:04:23 -05:00
TheDarkBug
bb15873fba Added gpu info for termux. 2021-03-15 00:19:02 +01:00
TheDarkBug
81532e5571
Merge pull request #38 from Guaxinim5573/main
Add GPU support
2021-03-14 22:58:10 +01:00
Guaxinim5573
6d71999d09 Add GPUWU support 2021-03-14 18:51:25 -03:00
TheDarkBug
28c4c7a59f Added support for raspbian, fixed #36. GPU info is wip. 2021-03-14 21:42:52 +01:00
TheDarkBug
5d3d8cbcdf Merge remote-tracking branch 'origin/main' 2021-03-14 19:19:36 +01:00
TheDarkBug
f045e8ec00 Working on gpu info 2021-03-14 19:19:30 +01:00
TheDarkBug
ee9b73147f
Merge pull request #34 from d1snin/patch-1
kewnel uwu
2021-03-14 19:00:29 +01:00
Mikhail Koshkin
0772596787
kewnel uwu 2021-03-14 19:02:29 +03:00
TheDarkBug
ff432383bd
Merge pull request #33 from Joe-Todd0/patch-1
fix manjaro-arm uwu name
2021-03-14 16:09:05 +01:00
Joe Todd
dbfabb4ccb
fix manjaro-arm uwu name 2021-03-14 14:58:41 +00:00
TheDarkBug
9933280db5 Renamed pop os image. 2021-03-14 15:29:36 +01:00
TheDarkBug
e7b1d4b405
Merge pull request #32 from sethnine/main
Pop os wasn't being detected automatically this is the patch
2021-03-14 15:21:11 +01:00
TheDarkBug
b727eb7c04 Finally fixed #27. 2021-03-14 15:19:49 +01:00
sethnine
20f5477a7a
Pop os wasn't being detected this is the patch 2021-03-14 23:48:23 +11:00
TheDarkBug
da1b4470a1 Possible fix for #27 2021-03-14 13:14:57 +01:00
TheDarkBug
e2b8971577
Merge pull request #30 from prettykool/main
Initial support for Guix + FreeBSD icon fix.
2021-03-14 12:48:28 +01:00
TheDarkBug
cd86f7a578 Fix for void in #31 issue. 2021-03-14 12:41:56 +01:00
PK
b0dc3a35cd FreeBSD icon fix 2021-03-13 20:01:26 -06:00
PK
d5175fc6d9 Guix pkgman support 2021-03-13 19:52:01 -06:00
TheDarkBug
a9f7bcf419 Updated makefile for security reasons (special thanks to linuxreviews.org) 2021-03-13 21:37:27 +01:00
TheDarkBug
ae2fcf8799 Fixed *file array size for package managers. 2021-03-13 08:12:05 +01:00
TheDarkBug
38899245e5
Merge pull request #29 from prettykool/main
Nyalpine support + apk packages + Modified Tux icon
2021-03-13 08:02:27 +01:00
PK
f9a1c886ea Added Nyalpine listing on README.md 2021-03-12 16:29:26 -06:00
PK
af0f0f3db8 Modified Tux icon 2021-03-12 16:27:43 -06:00
PK
414c213302 Added Alpine + APK support 2021-03-12 16:18:29 -06:00
TheDarkBug
903d5acc4d
Merge pull request #28 from LukeHuckman/main
Added AUR release package link, version badges
2021-03-12 13:55:37 +01:00
Milo Redwell
8a854e638c
Update README.md
AUR version badges!
2021-03-12 18:17:35 +08:00
TheDarkBug
f88d4796f8 New ascii tux, now shell will not be displayed as a full path. 2021-03-12 11:00:37 +01:00
TheDarkBug
218ade46a8 Finally fixed ram issue (no one noticed anyway), general optimization and now completely bash-free (except pkgman() obviously) 2021-03-11 22:39:16 +01:00
TheDarkBug
79f508562c
Merge pull request #25 from zeGolem/better-uwufier
uwu_name(): Use macros set the name depending on the distribution
2021-03-10 19:30:56 +01:00