Commit graph

246 commits

Author SHA1 Message Date
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
Darkpelz
9eb6df1eb4
Update uwufetch.c 2021-06-24 03:58:51 +08:00
LukeHuckman
b767645854 Replaced ifs with a switch statement for printing uptime 2021-06-24 03:46:22 +08:00
LukeHuckman
daabd44a9e RAM usage now uses correct units (MiB instead of MB),
tweaked uptime to only show hours when relevant (>=1 hour).
2021-06-24 03:24:43 +08:00
TheDarkBug
dc451cd550 Fixed host info for termux 2021-06-13 13:57:28 +02:00
TheDarkBug
664fa5c8c2 Added host info, fixed install and uninstall process 2021-06-13 13:52:32 +02:00
Emily
141fd7709e fix package count for openSUSE
zypper shows some informational messages before printing the actual
packages, so this commit adds the "-q" flag to suppress the
informational output und to provide a more accurate package count
2021-06-10 18:02:40 +02:00
TheDarkBug
5cd38bc202 Wrong mac os logo should be fixed, even without printing packages info (#81) 2021-06-07 13:02:12 +02:00
TheDarkBug
a74aa5e02c Wrong mac os logo should be fixed (#81) 2021-06-07 13:00:17 +02:00
TheDarkBug
ee077ce0c8 Fixed #81 and issues in #98 by not using pkgman in mac os 2021-05-31 01:04:32 +02:00
mTvare6
cb5dbf0436 (fix): list only installed not available 2021-05-20 21:26:09 +05:30
kbhamster
438500345e Replaced resolution with resowution and shell with sheww 2021-05-10 17:57:38 +03:00
TheDarkBug
743b72d04e Replaced cut with awk, for better compatibility (at least in theory) 2021-05-08 14:38:43 +02:00
Veikka Valtteri Kallinen
531df9fff9 fix cut command so it works with busybox cut 2021-05-08 13:10:49 +03:00
PK
97efde20e7
Added Slackware and Solus ASCII art. 2021-05-07 14:07:22 -05:00
PK
75e3b42f2c
Added every distribution to the list. Other minor adjustments. 2021-05-07 13:49:21 -05:00
PK
7365482790
Fix for older versions of EndeavourOS 2021-05-06 17:21:05 -05:00
Adriano Oliviero
55c8e9feb8 Fixed endless 1s on mac os, but the package count is absolutely wrong 2021-05-03 04:18:33 -07:00
Adriano Oliviero
e1afaa3b99 Illegal hardware instruction on mac os was fixed, but the package function is still not working 2021-05-03 03:59:38 -07:00
sech1p
997b2d0239 Add Windows 2021-05-03 03:46:55 +02:00
sech1p
56f90af287 Add macOS to distribution list 2021-05-03 01:04:18 +02:00
dqnk
938520b4f3 added counting of packages for different package managers 2021-04-27 11:07:58 +02:00
TheDarkBug
1cae7829f7 Replaced 'endeavour' with 'endeavouros', closed #85 2021-04-27 09:49:07 +02:00
Adriano Oliviero
583407fa76 Added endeavouros ascii logo, merged manjaro and manjaro arm, replaced all 'w' (in ascii logos) with u03c9 (greek uppercase omega) 2021-04-27 09:36:02 +02:00
Adriano Oliviero
09b32b1e1e Changed parse_config(), now it works without json-c 2021-04-23 18:02:05 +02:00
TheDarkBug
9752cfa15c Changed config parsing method from just text to json, with json-c library. 2021-04-19 00:01:29 +02:00
TheDarkBug
c802f4041f Added .prettierignore to avoid removing tabs in man page. 2021-04-18 23:51:32 +02:00
LukeHuckman
63f22a8aa4 Typo: flatpak, not flatpack 2021-04-17 21:25:06 +08:00
sech1p
3016198062 fix uwufetch mac code 2021-04-16 14:11:36 +02:00
TheDarkBug
5ac94df5bf Removed merge ======= and reformatted code with prettier 2021-04-16 10:52:28 +02:00
TheDarkBug
5af3aed378
Merge branch 'main' into main 2021-04-16 10:50:34 +02:00
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
LukeHuckman
5a511a1f9e Hide resolution by default on headless systems 2021-04-16 16:32:00 +08: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