Linus Dierheimer
b1c0a2dc1e
Better init of config & data dirs
2023-01-08 11:32:43 +01:00
Linus Dierheimer
2a092de8d8
Detect data dirs at runtime
...
* Respecting the current platform
* Using them where appropiate
2023-01-08 01:41:09 +01:00
Linus Dierheimer
bb57714ac9
Use configDirs to look for fastfetch configs
2023-01-07 22:51:47 +01:00
Linus Dierheimer
137039f868
Initialize brightness on wayland too
2023-01-07 22:37:01 +01:00
李通洲
e7af38aa11
DisplayServer: make display brightness actually work (Windows)
2023-01-08 01:27:54 +08:00
李通洲
d0bab2ca22
Image: fix compiler warnings (Windows)
2023-01-08 01:27:54 +08:00
李通洲
2621c48f92
DisplayServer: support brightness detection (Windows)
2023-01-08 01:27:54 +08:00
李通洲
959540f17c
DisplayServer: support brightness detection (macOS)
2023-01-08 01:27:54 +08:00
李通洲
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