李通洲
3e2c344417
Android: honor $XDG_CONFIG_HOME when loading user config file
2023-01-08 01:27:34 +08:00
李通洲
a307977ec1
Image: don't try to read image file with --logo none
2023-01-08 01:26:10 +08:00
李通洲
f3db4e49b6
Windows: store config file in RoamingAppData instead of LocalAppData
2023-01-03 17:01:24 +08:00
李通洲
30f9bcbd22
TerminalFont: fix mintty terminal font detection
2023-01-03 17:01:24 +08:00
李通洲
a98c71aab4
Config: search for user config file in the order of configDirs
...
This is necessary to keep forward compatibility for Windows / macOS users. Since `$LOCALAPPPATH` and `~/Library/Preferences` are now the first element of `configDirs`, config files in `~/.config` won't be used in previous manner.
2023-01-02 17:27:06 +08:00
李通洲
0d722ebe0b
Config: add --list-config-paths option
2023-01-02 16:51:11 +08:00
李通洲
3caa92c567
macOS: looking for config files in ~/Library/Preferences
2023-01-02 16:34:57 +08:00
李通洲
ae6d921f23
Config: don't generate a config file silently
...
Instead, provide a new flag `--gen-config` and print the path to the config file, so that users can know where to find the file.
2023-01-02 16:34:57 +08:00
李通洲
d692fe91fb
Windows: don't try to load config file in /etc
2023-01-02 16:34:57 +08:00
李通洲
822496808d
Windows: look for config files in $LOCALAPPDATA
2023-01-02 16:34:57 +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
李通洲
8e3b6280af
Image: support iterm protocol with --logo-type
...
fixes #374
2023-01-01 17:09:30 +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
李通洲
f8174a67d7
Wifi: don't use libcJSON as wlanapi's dll name
2022-12-31 18:12:23 +08:00
李通洲
53265f6b7f
Users: fix memleaks (Windows)
2022-12-31 18:12:23 +08:00
李通洲
f245492679
TerminalShell: fix shell detection when installed with scoop
2022-12-31 12:42:19 +08:00
Linus Dierheimer
fbb4ab590f
Local IP: Key: Clear before reuse
...
#368
2022-12-30 18:42:26 +01:00
李通洲
1dabac9782
Media: remove the alias name Song to avoid confusion
...
So we don't have code like `#define FF_SONG_MODULE_NAME "Media"`.
Also fix the error `unknown option: --media-format`
2022-12-30 11:21:11 +08:00
Linus Dierheimer
50983f83f5
Generic decoding for mountpoints
...
#364
2022-12-29 23:19:44 +01:00
Linus Dierheimer
5026be2d28
Fix parsing mountpoints with backslashes
...
#364
2022-12-29 22:58:29 +01:00
Linus Dierheimer
70aad5c320
Fix parsing mountpoints with spaces
...
#364
2022-12-29 22:51:23 +01:00
Ian Manske
90d8677b7a
Add missing else statement.
2022-12-29 12:51:00 -05:00
李通洲
7a5d88270e
macOS: fix building with old xcode
...
Makes homebrew happy
https://github.com/Homebrew/homebrew-core/pull/119329
2022-12-30 01:13:04 +08:00
李通洲
584d792f5a
Bios: try supporting FreeBSD
...
It prints nothing on my VM. Don't know if it works on a physical machine.
2022-12-29 20:23:44 +08:00
Carter Li
0801e22dce
Bios: support macOS
2022-12-29 11:03:33 +08:00
李通洲
5efd7b9ac4
FFstrbuf: add ffStrbufContainC
2022-12-29 11:03:33 +08:00
李通洲
6becc8f334
Swap: improve performance on Linux
...
We can't do the same thing with memory because there is no `cachedram` in `struct sysinfo`
2022-12-28 17:27:35 +08:00
李通洲
90359d227e
Global: don't require sysinfo.h globally
...
... which is Linux specific
2022-12-28 17:20:20 +08:00
李通洲
6ff67e87eb
Memory: refactor, don't cache results
2022-12-28 17:20:20 +08:00
李通洲
0a83423731
Packages: support eopkg for Solus ( #360 )
...
UNTESTED
2022-12-27 17:36:58 +08: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
Carter Li
7a6a2ad530
Chassis: fix compiler warnings
...
My fault
2022-12-25 23:24:50 +08:00
李通洲
21c76f31c4
Chassis: fix compiler warnings
2022-12-25 12:43:48 +08:00
李通洲
cb48c1277a
Chassis: seperate module
...
It's only supported on Linux
2022-12-24 23:00:38 +08:00
李通洲
dc35fedd74
TerminalShell: detect Windows Terminal Preview
2022-12-24 13:00:43 +08:00
李通洲
947923567f
TerminalShell: fix mintty detection (Windows)
2022-12-24 12:52:13 +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
李通洲
ecc6b477dc
TerminalFont: support Kitty
2022-12-23 11:11:27 +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