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
Teoh Han Hui
0ca67a5608
Set foreground colors for the newly added distro logos
2024-08-30 00:31:18 +08:00
Teoh Han Hui
b2f7a3cee9
Merge remote-tracking branch 'origin/master' into riir
2024-08-30 00:14:04 +08:00
Teoh Han Hui
b33b26625a
Merge pull request #44 from BKasin/riir
...
Add missing upstream flags
2024-08-30 00:06:14 +08: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
ebd253523b
Merge pull request #43 from teohhanhui/riir
...
Use "alternate screen" for Pride month animation
2024-07-30 21:27:14 +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
faa7ab240f
Merge pull request #42 from teohhanhui/riir
...
Track only fg color indices in ascii art; the rest are bg colors
2024-07-28 02:43:57 +08:00
Teoh Han Hui and Luna
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
52844b55ad
Merge pull request #41 from teohhanhui/riir
...
Put fore-back color indices in ascii art structs
2024-07-27 04:41:44 +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
2f18cc2826
Merge pull request #40 from teohhanhui/riir
...
Use structs to represent ascii art in different states of processing
2024-07-27 01:39:52 +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
55b0eed88d
Merge pull request #39 from teohhanhui/riir
...
Use checked arithmetic
2024-07-26 11:31:00 +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
f976781997
Merge pull request #38 from teohhanhui/riir
...
Remove `--c-overlay` option
2024-07-25 05:03:34 +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
fe7ed923ea
Merge pull request #37 from teohhanhui/riir
...
Fix all the line iterators
2024-07-25 03:55:46 +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
370b56c1db
Merge pull request #35 from 1337isnot1337/riir
...
created --june pride month animation! still needs some work. first PR be kind pls :3
2024-07-24 22:39:03 +08:00
Teoh Han Hui
f47561c947
Clean up pride_month.rs
2024-07-24 22:36:10 +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
632296dbb4
Merge pull request #34 from teohhanhui/riir
...
Add `macchina` backend
2024-07-22 02:09:00 +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
bdd03a34af
Merge remote-tracking branch 'origin/master' into riir
2024-07-20 23:52:36 +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
2a8cd48674
Merge pull request #33 from teohhanhui/riir
...
Implement select_backend and save config
2024-07-20 17:57:13 +08:00
Teoh Han Hui
13ead437ec
Implement select_backend and save config
2024-07-20 17:51:50 +08:00
Teoh Han Hui
8edb50c4d8
Merge pull request #32 from teohhanhui/riir
...
Support foreground-background for vertical color alignment
2024-07-19 23:34:25 +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
Teoh Han Hui
2613471978
Merge pull request #28 from luna-1024/riir-fix-escaped-backslashes
...
Fix escaped backslashes in output ascii art by unescaping them
2024-07-19 01:23:31 +08:00
Teoh Han Hui
a558cf7ac9
Fix stray newlines
2024-07-19 01:19:42 +08:00
Teoh Han Hui
0a31cd0817
Merge pull request #29 from teohhanhui/riir
...
Use rainbow preset for color testing
2024-07-18 08:09:35 +08:00
Teoh Han Hui
e25684cfd8
Use rainbow preset for color testing
2024-07-18 08:07:23 +08:00
Teoh Han Hui
de43bf74a9
Merge pull request #27 from teohhanhui/riir
...
Implement "check term size" and select_color_mode
2024-07-17 22:43:31 +08:00
Teoh Han Hui
d8f3302b89
Implement "check term size" and select_color_mode
2024-07-17 22:38:29 +08:00
Teoh Han Hui
5517283fb2
Merge pull request #26 from teohhanhui/riir
...
Implement selection of color alignment
2024-07-16 10:07:44 +08:00
Teoh Han Hui
66b08f7a2e
Implement selection of color alignment
2024-07-16 10:03:49 +08:00
Teoh Han Hui
19e3b382b4
Use same-file only on Windows
2024-07-14 22:39:42 +08:00
Teoh Han Hui
e10bdac351
Merge pull request #25 from springmaple/riir
...
Fix git-bash finding in Windows not working properly
2024-07-14 19:58:19 +08:00
Teoh Han Hui
198742e15b
Merge pull request #24 from teohhanhui/riir
...
Implement select_lightness
2024-07-14 05:02:33 +08:00
Teoh Han Hui
a5de091883
Implement select_lightness
2024-07-14 04:59:37 +08:00
Teoh Han Hui
da5f6ef655
Switch to terminal-colorsaurus
2024-07-13 23:37:41 +08:00
Teoh Han Hui
dbecd3d705
Merge pull request #23 from teohhanhui/riir
...
Attempt to better support fallback executable paths on Windows
2024-07-13 16:58:25 +08:00
Teoh Han Hui
e2d538df1f
Attempt to better support fallback executable paths on Windows
2024-07-13 16:52:19 +08:00
Teoh Han Hui
8514629960
Merge pull request #22 from teohhanhui/riir
...
Use selected backend to get distro name
2024-07-13 04:12:31 +08:00
Teoh Han Hui
d11f6f0a9f
Use selected backend to get distro name
2024-07-13 04:07:31 +08:00
Teoh Han Hui
d79196a7fc
Merge pull request #21 from teohhanhui/riir
...
Prompt for preset selection
2024-07-12 22:44:32 +08:00
Teoh Han Hui
114de9be12
Prompt for preset selection
2024-07-12 22:42:58 +08:00
Teoh Han Hui
4861744b50
Merge pull request #20 from teohhanhui/riir
...
[WIP] Implement `--config` option
2024-07-12 19:17:06 +08:00
Teoh Han Hui
66b57cfea6
[WIP] Implement --config option
2024-07-12 19:06:13 +08:00
Teoh Han Hui
ca583bddcb
Merge pull request #19 from teohhanhui/riir
...
Support fastfetch backend
2024-07-11 22:28:09 +08:00
Teoh Han Hui
965b009bc7
Support fastfetch backend
2024-07-11 19:44:07 +08:00
Teoh Han Hui
3cc26d7dd9
Fix wrong line length counting of ascii art
...
Count Unicode grapheme clusters instead of bytes.
2024-07-11 00:35:11 +08:00
Teoh Han Hui
85a85ad4d3
Merge pull request #18 from teohhanhui/riir
...
Tie fore-back to distro ascii instead of config
2024-07-10 23:58:43 +08:00
Teoh Han Hui
f3b1840e92
Tie fore-back to distro ascii instead of config
2024-07-10 23:53:39 +08:00
Teoh Han Hui
d773c69918
Merge pull request #17 from teohhanhui/riir
...
Run neofetch using git bash on Windows
2024-07-09 01:36:51 +08:00
Teoh Han Hui
290da7c363
Fix path normalization on Windows
2024-07-09 01:35:31 +08:00
Teoh Han Hui
fa66bb486b
Run neofetch using git bash on Windows
2024-07-08 15:50:12 +08:00
Teoh Han Hui
1239e86d1a
Merge pull request #16 from teohhanhui/riir
...
Finish implementation of recolor_ascii
2024-07-08 03:46:13 +08:00
Teoh Han Hui
66491a4e73
Implement recoloring of ascii art using "custom" colors
2024-07-08 03:40:58 +08:00
Teoh Han Hui
c100ca52a6
Implement recoloring of ascii art that don't use fore-back
2024-07-08 02:04:45 +08:00
Teoh Han Hui
46b618252f
Merge pull request #15 from teohhanhui/riir
...
Implement recolored ascii output
2024-07-07 04:47:25 +08:00
Teoh Han Hui
be70233b03
Implement recolored ascii output
2024-07-07 04:39:41 +08:00
Teoh Han Hui
ff46c8f4ca
Merge pull request #14 from teohhanhui/riir
...
Add more scaffolding
2024-07-03 23:57:18 +08:00
Teoh Han Hui
59213687fb
Add more scaffolding
2024-07-03 23:53:25 +08:00
Teoh Han Hui
475b10ba07
Merge pull request #13 from teohhanhui/riir
...
Apply lightness to preset color profile
2024-07-03 05:51:11 +08:00
Teoh Han Hui
b0737a33ba
Apply lightness to preset color profile
2024-07-03 05:48:51 +08:00
Teoh Han Hui
3c355f54f2
Merge pull request #12 from teohhanhui/riir
...
Parse config
2024-07-01 04:08:10 +08:00
86e442b8a4
Parse config
...
Co-authored-by: Chiew Yan Wei <chiewyanwei@gmail.com >
Co-authored-by: Tan Chee Keong <tanck2005@gmail.com >
2024-07-01 04:03:56 +08:00
Teoh Han Hui
a0856aa4f5
Merge pull request #11 from teohhanhui/riir
...
Implement neofetch_util functions
2024-06-29 21:40:11 +08:00
Teoh Han Hui and Chiew Yan Wei
d1d99daa87
Implement neofetch_util functions
...
Co-authored-by: Chiew Yan Wei <chiewyanwei@gmail.com >
2024-06-29 21:36:17 +08:00
Teoh Han Hui
4f1efbc699
Merge pull request #8 from teohhanhui/riir
...
Clean up build.rs
2024-06-29 17:39:12 +08:00
Teoh Han Hui
c1b30918e9
Clean up build.rs
2024-06-29 17:37:22 +08:00
Teoh Han Hui
517dde43cc
Merge pull request #5 from Venketaramana/riir
...
[rust] implement list_distros match_condition method in rust
2024-06-29 16:28:10 +08:00
Teoh Han Hui
274440e9db
Merge pull request #4 from teohhanhui/riir
...
Add some more scaffolding
2024-06-29 15:03:20 +08:00
Teoh Han Hui
fd413caba4
Add some more scaffolding
2024-06-29 14:59:05 +08:00
Teoh Han Hui
474c339599
Set default-run in Cargo.toml
2024-06-29 13:09:39 +08:00
Teoh Han Hui
927803549e
Merge pull request #3 from teohhanhui/riir
...
Generate distros.rs on build
2024-06-29 10:40:51 +08:00
Teoh Han Hui
11601933f9
Generate distros.rs on build
2024-06-29 10:36:55 +08:00
Teoh Han Hui
7c874a8e9a
Enable color output in bpaf
2024-06-28 05:53:00 +08:00
Teoh Han Hui
6e0e3fd18a
Merge pull request #2 from teohhanhui/riir
...
Get distro name from neofetch
2024-06-28 05:17:12 +08:00
Teoh Han Hui
974c4514b2
Fix distro overriding
2024-06-28 05:09:32 +08:00
Teoh Han Hui
e3b220a248
Switch to tracing
2024-06-28 01:13:42 +08:00
Teoh Han Hui
ae1f6a2b3f
Get distro name from neofetch
2024-06-27 22:25:49 +08:00
Teoh Han Hui
290445110d
Parse the rest of the CLI options
2024-06-27 16:31:39 +08:00
Teoh Han Hui
4f9e6deb90
Add xenogender preset
2024-06-27 01:24:43 +08:00