李通洲
fd4ed07449
Logo: simplify ffLogoPrintRemaining
2023-06-28 10:56:53 +08:00
李通洲
f0844d7636
JsonConfig: support "logo": null and "logo": "/path/to/logo"
2023-06-25 21:22:44 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
李通洲
1ad204e0a1
Logo (Windows): make Windows logos colorable
2023-06-22 14:53:15 +08:00
Carter Li
f7059783dc
Logo: more BSD logos
2023-06-22 03:07:18 +00:00
李通洲
da76c6efbe
Global: refactor strncmp to ffStrStartsWith
2023-06-19 17:11:57 +08:00
李通洲
805fb13b13
Global: refactor strcasecmp() == 0 to ffStrEqualsIgnCase()
...
to prevent me from forgetting to write `== 0`
2023-06-19 15:21:49 +08:00
李通洲
b87997caa2
Logo: parse chafa options as enum
2023-06-14 16:17:38 +08:00
Linus Dierheimer
47bf785752
Include limits.h when needed
...
Fixes #472
2023-06-12 15:10:45 +02:00
李通洲
71beb626c3
Logo: fix paddingLeft doesn't work when paddingTop is set
2023-06-11 21:35:18 +08:00
李通洲
6d6eee9968
JsonConfig: support Logo config (WIP)
2023-06-10 21:35:45 +08:00
李通洲
c7119498a3
Global: major FFstrbuf related code refactor
2023-06-10 09:15:15 +08:00
李通洲
e812380f20
Logo: move logo command line option parser to a separate file
...
Prepare for JSON config support
2023-06-10 09:15:15 +08:00
李通洲
60c1a552bb
Logo: add macOS small version
2023-05-26 09:16:29 +08:00
Edward Piper
8cf033002c
Fix EndeavourOS logo again
2023-05-03 21:49:50 +08:00
tdtooke
757d947446
Update builtin.c
2023-04-11 13:44:07 -07:00
tdtooke
4ced4f9631
Update builtin.c
2023-04-11 13:35:24 -07:00
KingKrouch
94cf9a89cc
Update Windows 11 ASCII
...
Reason being that the original ASCII art as shown in Windows Terminal has random portions using "*" and "(" as opposed to "/".
2023-04-10 15:28:42 +00:00
李通洲
708b4a8981
Logo: add SteamOS ( #439 )
2023-04-02 20:54:16 +08:00
李通洲
cc2286f056
Windows: fix compiling with imagemagick enabled
2023-04-02 20:41:16 +08:00
regulargvy13
e923d78016
Small update for nobara logo
...
The last line in nobara logo was missing just a few spaces, so I added them, and now it's in proper shape :)
2023-03-18 00:46:46 +01:00
李通洲
6ca4b5391b
Library: refactor FF_LIBRARY_LOAD to use __cleanup__
2023-02-15 14:51:04 +08:00
李通洲
e4973b3262
IO: fix Windows part; silense warnings
2023-01-28 22:46:59 +08:00
Linus Dierheimer
a1ea7804f3
IO: Separate platform specific implementations
2023-01-28 12:40:12 +01:00
Linus Dierheimer
2c51d55ba2
IO: don't require posix specific stuff for ffPathExists
2023-01-28 11:52:23 +01:00
Linus Dierheimer
3b0e1a5833
Image: Use correct cache dir
2023-01-28 11:28:05 +01:00
Linus Dierheimer
9bb6d8fd6e
Allow loading images from data dirs too
...
#375
2023-01-28 11:14:16 +01:00
Linus Dierheimer
a1d8e3e598
Introduce FFPlatform
2023-01-15 15:57:26 +01:00
李通洲
012c7552eb
macOS: try fixing #380
2023-01-09 13:42:58 +08:00
Linus Dierheimer
1bbcd9ad0d
Look for logo files in <datadir>/fastfetch/logos/ too
...
#375
2023-01-08 12:30:36 +01:00
李通洲
d0bab2ca22
Image: fix compiler warnings (Windows)
2023-01-08 01:27:54 +08:00
李通洲
a307977ec1
Image: don't try to read image file with --logo none
2023-01-08 01:26:10 +08:00
Linus Dierheimer
2193fb531f
Merge pull request #378 from IamNoRobot/pi-logo
...
fixed formatting error
2023-01-01 18:23:28 +01:00
Linus Dierheimer
c069d14af5
Merge pull request #373 from IamNoRobot/pi-logo
...
RaspberryPi Logo, RaspberryPi small logo
2023-01-01 18:18:32 +01:00
IamNoRobot
02abc07bc1
fixed formatting error
2023-01-01 18:18:01 +01:00
IamNoRobot
34c33dd42f
RaspberryPi Logo, RaspberryPi small logo
2023-01-01 18:05:09 +01:00
JesseBot
4247d15672
Fix error text typo from item to iterm
2023-01-01 15:39:03 +01:00
李通洲
39d8ebc3c9
Logo: support --logo-padding-top
2023-01-01 17:37:11 +08:00
李通洲
4a781d8471
Logo: support raw image type
...
For raw image type, fastfetch nether parses the file content, nor tries to detect the image size from the file. It's useful to print pre-converted sixel image.
2023-01-01 17:06:18 +08:00
李通洲
9f93ca8019
README: document image logo support
2023-01-01 12:29:08 +08:00
IamNotARobot
4890cb641c
RaspberryPi Logo, RaspberryPi small logo
2022-12-31 17:52:47 +01:00
李通洲
5160644016
Logo: add Solus logo ( #360 )
2022-12-27 17:32:19 +08:00
李通洲
d956bd2643
Image: update cache folder's name
2022-12-27 17:25:19 +08:00
李通洲
051f6643a6
Image: fix build
2022-12-23 15:23:37 +08:00
李通洲
47e01a7157
Image: print more debug info when errored
2022-12-23 12:51:37 +08:00
李通洲
a336145ed9
Image: add fast path for kitty protocol
2022-12-23 12:45:57 +08:00
李通洲
3e607680e2
Image: dont leak memories
2022-12-22 21:47:30 +08:00
李通洲
89347b7bee
Image: add dirty support of iTerm image protocol
...
iTerm image protocol supports most commonly used image formats so we don't need image magick to convert image format.
However, since we don't know anything about the image, `--logo-width` `--logo-height` must be specified to make sure that logo will not be covered by texts.
2022-12-22 21:37:16 +08:00
李通洲
c45ef08926
Image: expose more chafa settings
2022-12-22 11:36:13 +08:00
李通洲
f50b478966
Image: try fixing caching
2022-12-22 02:40:56 +08:00