Commit graph

207 commits

Author SHA1 Message Date
TheDarkBug
c1ed607909 Added a cache system for slower machines (fix #118, fix #140)
This commit adds the option to read a pregenerated cache, to improve  speed on low spec systems.  The cache system is not fully working (apple users do not get pkg info  and upti    me is not updated) and to use it the `$UWUFETCH_CACHE_ENABLED`  must be set to `TRUE`, `true` or just `1`
2021-10-08 23:11:27 +02:00
TheDarkBug
1be566c8cc Another fix for replacement (#139) 2021-10-04 14:14:58 +02:00
TheDarkBug
92451277ce Forgot a little thing on latest commit... 2021-10-03 23:57:57 +02:00
TheDarkBug
87c0cbe954 Fixed recursion segfault 2021-10-03 23:54:59 +02:00
TheDarkBug
d6d9962b93 CPU string fix try + some formatting 2021-10-03 23:48:10 +02:00
Joshix
07b2c4a4d8 use while loop instead of recursion for replace functions 2021-10-03 21:33:53 +02:00
Joshix
cc399b471f use recursion to fix missing replacement 2021-10-03 19:53:32 +02:00
TheDarkBug
047dbb49f9 Fixed recursion segfault (on my system works) 2021-10-03 13:51:05 +02:00
Joshix
f1ef095a9c fix replacing ignorecase with multiple things to replace 2021-10-03 12:36:08 +02:00
Joshix-1
a576673bb8 Fix #133 and don't throw an error if $HOME,$SHELL or $USER aren't set. 2021-10-02 22:34:37 +02:00
TheDarkBug
50cc6b66f9 Fixed #133 2021-10-02 21:10:49 +02:00
TheDarkBug
449ab8778f Testing xerolinux support 2021-09-29 21:47:47 +02:00
AakashSharma7269
80c248829d
Fixed typo in uwufetch.c 2021-09-20 15:14:46 +05:30
TheDarkBug
2898ee0614 Fixed AmogOwOS detection 2021-09-10 01:37:20 +02:00
TheDarkBug
3ecf05e4a1 Added AmogOwOS support 2021-09-10 00:51:37 +02:00
Astrid Yu
e882069fd6 Add more hardware substitutions 2021-09-06 22:16:00 -07:00
Astrid Yu
47f6fed2b4 Add hardware uwuification 2021-09-06 21:59:34 -07:00
Oliver Smeeton
dd0a882be4
Fix compile Error
Fixed:
uwufetch.c: In function ‘print_ascii’:
uwufetch.c:732:10: warning: format not a string literal and no format arguments [-Wformat-security]
  732 |   printf(line);
      |          ^~~~
by adding string argument to printf
2021-08-31 17:10:50 +01:00
plat_
ee550c06ec Arco Linux support 2021-08-29 13:14:01 +02:00
TheDarkBug
075e6e73d5
Fixed #121
parse_config will be called before reading the arguments, just like get_info
2021-08-01 11:32:39 +02:00
TheDarkBug
833a2234c7
Merge pull request #115 from Guaxinim5573/main
[NEW-FEATURE] Move ascii arts to own file
2021-07-31 21:56:31 +02:00
Joshix
f854bdbf70 add snap support 2021-07-30 23:54:45 +02:00
TheDarkBug
9d6f99d2e9 Added host info for freebsd, fixed 104 2021-07-24 15:37:16 +02:00
TheDarkBug
d12f45aaa4 Added ram info for freebsd 2021-07-24 12:44:54 +02:00
TheDarkBug
f698a01020 Added uptime for freebsd 2021-07-24 12:27:38 +02:00
Joshix
bf105599f5 add else to improve performance 2021-07-23 22:15:31 +02:00
Joshix
a62805d9ce make host information more useful 2021-07-23 22:14:01 +02:00
TheDarkBug
3fd554a873 Fixed #117 2021-07-23 18:00:18 +02:00
TheDarkBug
53452559b7 Added package manager info for freebsd 2021-07-23 14:15:20 +02:00
TheDarkBug
a37fb5edbb
Merge pull request #116 from dqnk/main
Cleaning up old code for printing GPUS
2021-07-23 13:58:25 +02:00
Joshix
37974d9bac make it work for distros with double quotes 2021-07-23 13:40:44 +02:00
dqnk
0c7183c5ec Merge branch 'main' of https://github.com/TheDarkBug/uwufetch 2021-07-23 11:08:10 +02:00
dqnk
efd1f64c24 Merge branch 'main' of https://github.com/dqnk/uwufetch 2021-07-23 11:08:03 +02:00
dqnk
1c9c90ee6c cleaned up my old code 2021-07-23 11:06:46 +02:00
Guaxinim5573
f0342ef54e Add arch based distros 2021-07-22 20:33:04 -03:00
Guaxinim5573
3c9d9d113c Add support for ascii files in files 2021-07-22 19:32:09 -03:00
Joshix
79d23b0663 remove double quotes from distro names 2021-07-22 21:05:36 +02:00
TheDarkBug
3648b00e16 Another little fix for last commit 2021-07-22 15:31:34 +02:00
TheDarkBug
d0597d5909 Added cpuinfo to freebsd port 2021-07-22 18:48:36 +02:00
TheDarkBug
9b43d4df0d Added cpuinfo to freebsd port 2021-07-22 18:39:34 +02:00
TheDarkBug
267e0e3e30 Little fix for previous commit, again because I am stupid 2021-07-21 22:46:31 +02:00
TheDarkBug
c0eb27037c Little fix for previous commit 2021-07-21 22:45:16 +02:00
TheDarkBug
b86783c774 Uwufetch now compiles on freebsd, but there is little to no info. 2021-07-21 22:36:10 +02:00
dqnk
54bb079c6b
Update uwufetch.c
Added comments which should hopefully explain the behavior correctly.
2021-07-21 21:42:32 +02:00
dqnk
45f0647bcc fixed #111 (hopefully) 2021-07-21 21:39:17 +02:00
dqnk
d39d03f482 updated truncate_name method 2021-07-21 17:10:56 +02:00
Guaxinim5573
23a78175d5 Add distro names to uwufy kernel 2021-07-04 14:54:28 -03:00
Guaxinim5573
29de794e56 Uwufy kernel name 2021-07-04 14:38:10 -03:00
LukeHuckman
fd1b9e6cfc Code cleanup 2021-06-24 04:17:28 +08:00
LukeHuckman
8d53fe306e free already has an -m option to get value in mebibytes. Using that instead of calculating it in the code. 2021-06-24 04:03:48 +08:00