Commit graph

288 commits

Author SHA1 Message Date
TheDarkBug
de7517af99
Merge pull request #67 from prettykool/main
GNU stuff.
2021-04-10 18:24:35 +02:00
P.K
ec133ebcda
README changes 2021-04-10 10:57:50 -05:00
PK
9893b2fab9 Added GNU ahegao face and copyright details 2021-04-10 10:51:05 -05:00
PK
8c031b9817 Added ASCII support for GNU + GNU Guix. 2021-04-10 10:47:33 -05:00
TheDarkBug
623590ccd8
Merge pull request #66 from Guaxinim5573/main
[FIX] Variable name in Makefile
2021-04-08 07:42:29 +02:00
Guaxinim5573
2a90b9619d Fix variable name 2021-04-07 23:06:36 -03:00
TheDarkBug
7ec08f3c82 Added CONTRIBUTING.md, read it please. 2021-04-07 17:43:00 +02:00
TheDarkBug
8205a8cad7 Converted all white-spaces with tabs, I'm currently planning to add a 'code of conduct' file and a 'contributing' file, to guide new contributors 2021-04-07 14:13:15 +02:00
TheDarkBug
098c55ebff
Merge pull request #65 from dqnk/main
fixed issue with sys.uptime being printed as 0
2021-04-07 13:49:54 +02:00
TheDarkBug
33eecc61b3
Merge branch 'main' into main 2021-04-07 13:49:32 +02:00
TheDarkBug
266b77f3ed
Merge pull request #64 from em1lyy/main
Make Codestyle consistent
2021-04-07 13:41:02 +02:00
dqnk
554b9fefae fixed issue with sys.uptime being printed as 0 2021-04-07 13:17:29 +02:00
Emily
5ad00b16c8 Make Codestyle consistent
When more and more people started contributing to uwufetch, consistent codestyle was quickly lost. Some people used tabs, some people used spaces.
Even brace style was different for different contributors.
This patch makes the codystyle consistent again, using the codestyle used by TheDarkBug on commit f12c1be5fe because this was the last commit where TheDarkBug was the only contributor.
Commands used:
 - indent -kr -slc -br -brf -brs -i4 -cli4 uwufetch.c
 - some emacs macros
2021-04-06 17:13:15 +02:00
TheDarkBug
bee9a1b525
Merge pull request #63 from em1lyy/main
improve Makefile
2021-04-06 16:02:37 +02:00
Emily
e923244c97 improve Makefile
This commit improves various aspects of the Makefile, namely:
- it re-formats the variables at the beginning of the file
- it renames INSTALL_DIR to PREFIX as it is convention
- it removes the previously required trailing slash from PREFIX as it is convention
- it introduces the CC variable to be portable on systems with another cc instead of gcc
- it makes make uninstall not fail when the program is already uninstalled
- it makes make build depend on all FILES, not just uwufetch.c
- it renames FLAGS and FLAGS_DEBUG to CFLAGS and CFLAGS_DEBUG to allow later introduction of LDFLAGS
- it allows specification of the DESTDIR standard Makefile variable to allow binary distributions of uwufetch
2021-04-06 14:43:34 +02:00
TheDarkBug
7a9018f664
Merge pull request #62 from Guaxinim5573/main
Fixes 0MB ram. Fixes #61
2021-04-04 23:55:39 +02:00
Guaxinim5573
cf137e4155 Fixes 0MB ram usage 2021-04-04 18:48:04 -03:00
TheDarkBug
ebd6b609e7 Updated help message because now --opt works, fixed too high info printing with image option. 2021-04-03 23:04:27 +02:00
TheDarkBug
42e71237c8 Removed IMAGES.md and finished COPYRIGHT.md, close #55. 2021-04-02 17:49:40 +02:00
TheDarkBug
62f6903c1f Moved image instructions to readme file. 2021-04-02 17:46:58 +02:00
TheDarkBug
bfa7112d8e Added some logos, changed info template. 2021-04-02 16:35:43 +02:00
TheDarkBug
1c8eb6c1b0 Added arch logo to COPYRIGHT.md. 2021-04-02 16:06:43 +02:00
TheDarkBug
c317bc6ad1 Started working on a copyright file (in res directory), as #55 suggests. 2021-04-02 15:58:46 +02:00
TheDarkBug
6f65871a0d Started working on a copyright file, as #55 suggests. 2021-04-02 15:56:57 +02:00
TheDarkBug
c67bcdc40d
Merge pull request #60 from dqnk/main
Fixed issue with printing ram #59
2021-04-02 12:02:03 +02:00
dqnk
0292db4935 Merge branch 'main' of https://github.com/dqnk/uwufetch 2021-04-02 09:52:23 +02:00
dqnk
b25524a976 removed more unused variables 2021-04-02 09:52:20 +02:00
dqnk
38030b0080
removed calculation with unused variable 2021-04-02 09:47:48 +02:00
dqnk
8d3614674d Fixed issue with printing ram #59 2021-04-02 09:41:03 +02:00
TheDarkBug
a21fcd0b2d
Merge pull request #58 from em1lyy/main
add support for openSUSE Tumbleweed
2021-04-01 00:03:22 +02:00
Emily
e1ef8a890f add support for openSUSE Tumbleweed 2021-03-31 21:23:00 +02:00
TheDarkBug
c0fe9fe0dc
Merge pull request #57 from Guaxinim5573/main
Add long options support (thanks, I was searching for a way to do this, but I couldn't find anything).
2021-03-31 21:13:50 +02:00
Guaxinim5573
6f592e3f4a Add long options support 2021-03-31 12:47:07 -03:00
TheDarkBug
383abb2aa0
Merge pull request #53 from dqnk/main
fixing issues with printing of gpus, fixed #54
2021-03-22 00:28:22 +01:00
dqnk
9787f5b394 solved issue #54 2021-03-21 21:07:09 +01:00
dqnk
8a9595179e formated the code so that it will be easier to print more data in the future if we ever decide to 2021-03-21 20:17:49 +01:00
dqnk
d684bc0ec3 added removing of square brackets from GPU names 2021-03-21 20:07:22 +01:00
TheDarkBug
b4d5568129
Merge pull request #52 from prettykool/main
Zypper support, OpenSUSE icon mod, README changes, and APT comeback.
2021-03-20 00:16:16 +01:00
P.K
a0bedd1dbf
Quick fix 2021-03-19 17:01:52 -05:00
PK
b56336e1cc README change 2021-03-19 16:54:35 -05:00
PK
c17d7a5a9d OpenSUSE icon tweak, Zypper support + APT readded 2021-03-19 16:52:51 -05:00
TheDarkBug
cc6cc72a2e
Merge pull request #51 from MineClashTV/main
Shorten names to the width of the terminal automatically
2021-03-19 20:59:16 +01:00
TheDarkBug
937dfc1ac5
Merge pull request #50 from zeGolem/gpu-fix
gpu: forced LANG environement variable to en_US before running lshw
2021-03-19 20:57:22 +01:00
Pascal Puffke
9e299dc8a4
I'm tired 2021-03-19 19:38:46 +01:00
Pascal Puffke
a647bfc6ba
Truncate kernel name 2021-03-19 19:33:17 +01:00
Pascal Puffke
9d94953d47
Truncate kernel name 2021-03-19 19:32:12 +01:00
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