TheDarkBug
4b2f69c166
Fixed build errors on linux (line 356)
2021-04-16 10:48:39 +02:00
TheDarkBug
59900252d0
Merge branch 'main' into main
2021-04-16 10:42:46 +02:00
Guaxinim5573
de452de49c
Add resolution support
2021-04-15 18:52:12 -03:00
sech1p
0218e64e02
Add macOS support
2021-04-15 22:59:43 +02:00
LukeHuckman
a1877c924e
Removed now unnecessary comments, some cleanup
2021-04-16 00:36:26 +08:00
LukeHuckman
034a1c22c7
Fixed broken uptime value and added days
2021-04-16 00:25:38 +08:00
TheDarkBug
45f26524c0
Formatted every file with , as suggested in #73
2021-04-15 09:33:51 +02:00
TheDarkBug
63427834e3
Formatted every file with , as suggested in #73
2021-04-15 09:28:57 +02:00
Guaxinim5573
d0c8e5c1d7
Update usage
2021-04-14 18:46:48 -03:00
Guaxinim5573
028a269b24
add --config
2021-04-14 18:38:49 -03:00
Guaxinim5573
e4acabada7
merge --custom and --image
2021-04-14 17:25:11 -03:00
TheDarkBug
119504feb4
Fixed #71 , added prettier kernel info.
2021-04-14 18:19:17 +02:00
TheDarkBug
3ce44faf68
Added new config options, disabled optimization in makefile to prevent segmentation fault (i have no idea)
2021-04-14 12:33:05 +02:00
TheDarkBug
69fe7f2614
Added --config option to change config path
2021-04-14 11:09:23 +02:00
TheDarkBug
313a5a4013
Improved parse_config(), added man page to .gitignore
2021-04-14 10:32:12 +02:00
Guaxinim5573
c403d0a597
add config file parser
2021-04-13 19:21:29 -03:00
TheDarkBug
eb2471b86f
Added man pages, close #68
2021-04-12 13:16:45 +02:00
TheDarkBug
873c3f7246
Added guix to --list.
2021-04-10 18:31:36 +02:00
PK
8c031b9817
Added ASCII support for GNU + GNU Guix.
2021-04-10 10:47:33 -05: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
33eecc61b3
Merge branch 'main' into main
2021-04-07 13:49:32 +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
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
dqnk
b25524a976
removed more unused variables
2021-04-02 09:52:20 +02:00
dqnk
8d3614674d
Fixed issue with printing ram #59
2021-04-02 09:41:03 +02:00
Emily
e1ef8a890f
add support for openSUSE Tumbleweed
2021-03-31 21:23:00 +02:00
Guaxinim5573
6f592e3f4a
Add long options support
2021-03-31 12:47:07 -03: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
P.K
a0bedd1dbf
Quick fix
2021-03-19 17:01:52 -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
Pascal Puffke
9e299dc8a4
I'm tired
2021-03-19 19:38:46 +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
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
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