Commit graph

88 commits

Author SHA1 Message Date
Ameyama Izumi
5ec7b4f01a
[+] Add Kessoku Band flag for meme (#384)
* [+] Add Kessoku Band flag for meme

* [F] Fix key

---------

Co-authored-by: Azalea <22280294+hykilpikonna@users.noreply.github.com>
2025-01-19 05:55:17 +08:00
Azalea
f38b754783 [F] Port fix #383 to rust 2025-01-18 16:51:17 -05:00
Azalea
02c64ef281 [F] Fix #379 2025-01-06 04:53:25 -05:00
Azalea Gui
9806ced8b2 [F] Fix windows build 2024-12-22 08:25:13 -05:00
Azalea Gui
982ac52c69 [O] Better pathfinding 2024-12-22 08:14:24 -05:00
Azalea Gui
f9c9a92048 [O] Write neofetch file instead of finding path 2024-12-22 06:56:55 -05:00
Azalea Gui
b8e5dadd78 [O] Use include_str instead of hardcoding 2024-12-22 06:38:40 -05:00
Azalea
89cced9950 [F] Fix rust windows build 2024-12-22 00:27:10 -05:00
Azalea
1ff4b12f19 [F] Fix windows 2024-12-22 00:26:55 -05:00
Azalea Gui
4f8ddd1c22 [O] Shorten code for #372 2024-12-21 21:40:06 -05:00
Azalea
7a42824883
[PR] #370 from teohhanhui/rust-catchup
Port missed changes from the Python version
2024-12-21 21:31:01 -05:00
ctcl-bregis
79fc190013 shorthand next and prev and page number roll over 2024-12-16 19:51:46 -05:00
Azalea Gui
943503004d [+] Add print_font_logo CLI option 2024-12-10 08:54:32 -05:00
Azalea Gui
deb2bddbe1 [+] Font logo 2024-12-10 08:54:10 -05:00
Teoh Han Hui
191995c0fe
Fix preset name mismatch ("throatlozenges") 2024-11-30 09:37:17 +08:00
Teoh Han Hui
6558cf39f1
Apply fix from clippy (Rust 1.83) 2024-11-30 08:52:31 +08:00
Teoh Han Hui
99d652383a
Add random preset option (port of 1211dc6) 2024-11-30 08:52:31 +08:00
Teoh Han Hui
e78ae3233c
Add a higher-contrast version of pangender flag (port of f4d6b75) 2024-11-30 08:52:31 +08:00
Teoh Han Hui
a60dd35169
Add caninekin flag for all the dogs (port of #318) 2024-11-30 08:52:30 +08:00
Teoh Han Hui
ccc8121550
Add queer subculture flags (port of #302) 2024-11-30 08:52:19 +08:00
Elihuso Quigley
057b3b53e2 [F] Fix build 2024-11-22 15:06:13 +08:00
Elihuso Quigley
3a96fe8561 [+] Add watermelon cream lozenges for meme 2024-11-22 15:00:42 +08:00
seth
4ea0a4a9dc
fix: run neowofetch directly on unix
The script should contain a shebang, so no need to spawn a subshell for
it
2024-10-24 15:21:41 -04:00
Teoh Han Hui
0ca67a5608
Set foreground colors for the newly added distro logos 2024-08-30 00:31:18 +08:00
Bailey Kasin
e04ef3b0fd
Add note of where polyam colours were pulled from
Co-authored-by: Teoh Han Hui <teohhanhui@gmail.com>
2024-08-29 01:27:22 -07:00
Bailey Kasin
a51a19658a
Add missing upstream flags
Signed-off-by: Bailey Kasin <baileykasin@gmail.com>
2024-08-28 23:37:20 -07:00
Teoh Han Hui
474f744bc6
Default to fastfetch if it is installed
Otherwise fall back to neofetch.
2024-08-19 00:58:24 +08:00
Teoh Han Hui
7c139595a6
Use fastfetch as fallback on platforms other than *nix
* Use fastfetch on Android (Termux)
2024-08-10 14:37:17 +08:00
Teoh Han Hui
13e29325b9
Use "alternate screen" for Pride month animation
This removes the need to clear screen at each frame, which fixes the
screen flickering.
2024-07-30 21:23:40 +08:00
Teoh Han Hui
00369355e6
Fix vertical fore-back coloring when span is empty
e.g. back-to-back color codes, or color code at end of line
2024-07-28 06:40:46 +08:00
Teoh Han Hui
2865ee7131
Add more fg distros 2024-07-28 05:42:47 +08:00
Teoh Han Hui
bcdc720d8a
Track only fg color indices in ascii art; the rest are bg colors
* Fix vertical fore-back coloring when there are non-ASCII chars
* Allow 0-width / 0-height ascii art (again)

Co-authored-by: Luna <contact@luna.computer>
2024-07-28 02:35:32 +08:00
Teoh Han Hui
6ccf0d9c31
Put fore-back color indices in ascii art structs
* Support multiple color indices for fore-back
2024-07-27 04:36:05 +08:00
Teoh Han Hui
4c72ed6d79
Use structs to represent ascii art in different states of processing
Stop passing raw strings around, as that's error prone.
2024-07-27 01:35:04 +08:00
Teoh Han Hui
28f98a40fb
Use checked arithmetic
This hurts readability, but should be worth it for correctness...
2024-07-26 11:09:35 +08:00
Teoh Han Hui
a5913cc3d7
Fix nits 2024-07-25 06:36:43 +08:00
Teoh Han Hui
cbe176ff4e
Remove --c-overlay option
It no longer serves any purpose.
2024-07-25 05:00:12 +08:00
Teoh Han Hui
c2795125d2
Fix all the line iterators
Use `str::lines` for proper line splitting.
2024-07-25 03:53:40 +08:00
Teoh Han Hui
f47561c947
Clean up pride_month.rs 2024-07-24 22:36:10 +08:00
Cinna Davis
89e5342614
FIxed most bugs, should be working fine now? 2024-07-24 21:57:54 +08:00
Cinna Davis
4e3ec2604a
created --june pride month animation! still needs some work though. changed cargo toml a bit too and I might have done something wrong. 2024-07-24 21:57:53 +08:00
Teoh Han Hui
a7c277cb76
Move create_config back to hyfetch.rs
p/s: sorry...
2024-07-22 17:40:29 +08:00
Teoh Han Hui
c2586212d6
Remove fastfetch-old backend
fastfetch version < 1.8.0 is very old at this point. Even EPEL 8 is
on 1.12.2
2024-07-22 16:44:53 +08:00
Teoh Han Hui
fe7d902dac
Add macchina backend
* Remove `qwqfetch` TODOs as that project is unmaintained
2024-07-21 23:56:46 +08:00
Teoh Han Hui
c7295ebed8
Add debug in recolor_ascii to see fields from tracing::instrument 2024-07-21 00:54:13 +08:00
Teoh Han Hui
683d1fc2ec
Move create_config to Config::create_config 2024-07-20 23:45:57 +08:00
Teoh Han Hui
c80a6185fc
Handle name clashes in ascii distro patterns 2024-07-20 19:17:25 +08:00
Teoh Han Hui
13ead437ec
Implement select_backend and save config 2024-07-20 17:51:50 +08:00
Teoh Han Hui
14ff66b836
Support foreground-background for vertical color alignment 2024-07-19 23:29:42 +08:00
Teoh Han Hui
0c7c43d71c
Merge pull request #31 from teohhanhui/riir
Fix stray newlines
2024-07-19 01:26:30 +08:00