Commit graph

222 commits

Author SHA1 Message Date
TheDarkBug
eb06f27ff2
Revert "feat: responsively print width" 2021-11-01 15:03:45 +01:00
asas1asas200
273592479c feat: responsively print width
Limited maximum print width with current terminal width.
2021-10-31 01:37:14 +08:00
TheDarkBug
f8021dc155 Updated dependancies, fix #153 2021-10-30 18:32:51 +02:00
TheDarkBug
d887b4742d Fixed #154 2021-10-30 13:57:46 +02:00
Louis Bettens
de56164914 Fix #149 2021-10-18 14:17:38 +02:00
TheDarkBug
08e16edcaa Fix for #147 2021-10-14 22:48:08 +02:00
TheDarkBug
debc5a7c05
Fixed reading "TRUE" or "true" in cache env variable 2021-10-14 22:39:29 +02:00
elegantShock2258
8147b0a528
L:222 reduced home_dir's scope.
L:318 changed to appropiate format specifier
L:500 changed line's location.
2021-10-14 16:53:54 +05:30
elegantShock2258
aa4a14998f
FIXWARN : Provided limits to sscanf(), reduced scope of cache_enabled. 2021-10-14 16:28:59 +05:30
elegantShock2258
15850a51fe
Fixed some indentation 2021-10-13 12:37:45 +05:30
elegantShock2258
16aaf68b1f
FIX: L:222: config may not be initialised. L:585 closed host_model_info so there is no possible resource leak. 2021-10-13 12:34:03 +05:30
TheDarkBug
6c06247953 Read config file before printing the cache 2021-10-12 13:32:50 +02:00
TheDarkBug
943fa58204 Fixed #145 2021-10-12 13:26:18 +02:00
Joshix
2f450de6b1 write to cache if cache is enabled, but not found 2021-10-11 00:15:46 +02:00
TheDarkBug
f705a6ae75 Removed ram and uptime from caching (fix #141) 2021-10-09 00:19:16 +02:00
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