refactor(fastfetch): merge the mac and kde configs into common

One Fastfetch package now serves both platforms. The logo is sent
inline through the kitty graphics protocol from a pre-encoded
albedo.kitty, which works in Ghostty and Kwi alike, so the separate
kitty-direct (mac) and Konsole (kde) variants are no longer needed.
This commit is contained in:
tri committed 2026-11-06 11:20:04 +07:00
1 parent 84e96f175c
commit fa77bc2514
15 files changed
+62 -183

No files matched your search

+1 -7
View File
@@ -6,16 +6,10 @@ From the repository root, install all macOS packages:
(cd mac && stow -t "$HOME" */)
```
Or choose individual packages:
Install the package:
```sh
stow -d mac -t "$HOME" ghostty
stow -d mac -t "$HOME" fastfetch
```
- `ghostty`: JetBrainsMono Nerd Font and Ghostty's bundled SpaceGray Eighties theme.
- `fastfetch`: the original configuration, with a `kitty-direct` image logo.
Its source PNG is included in `fastfetch/.config/fastfetch/`.
These packages are independent. Choose either `mac/fastfetch` or
`kde/fastfetch`; both own `~/.config/fastfetch/`.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

@@ -1,80 +0,0 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
"display": {
"key": {
"width": 10
},
"size": {
"binaryPrefix": "jedec"
},
"separator": ""
},
"logo": {
"type": "kitty-direct",
"source": "~/.config/fastfetch/albedo.png",
"width": 20,
"height": 10
},
"modules": [
"break",
{
"type": "os",
"key": "os",
"keyColor": "yellow",
"format": "{name}"
},
{
"type": "kernel",
"key": "ker",
"keyColor": "green"
},
{
"type": "packages",
"key": "pkgs",
"keyColor": "cyan"
},
{
"type": "shell",
"key": "sh",
"keyColor": "blue",
"format": "{pretty-name}"
},
{
"type": "wm",
"key": "wm",
"keyColor": "red",
"format": "{pretty-name}"
},
{
"type": "uptime",
"key": "up",
"keyColor": "green"
},
{
"type": "cpu",
"key": "cpu",
"keyColor": "red",
"format": "{name}"
},
{
"type": "memory",
"key": "ram",
"keyColor": "yellow",
"format": "{used} / {total}"
},
{
"type": "disk",
"key": "disk",
"keyColor": "cyan",
"folders": [
"/"
],
"format": "{size-used} / {size-total}"
},
"break",
{
"type": "custom",
"format": "\u001b[33m󰮯 \u001b[32m󰊠 \u001b[34m󰊠 \u001b[31m󰊠 \u001b[36m󰊠 \u001b[35m󰊠 \u001b[37m󰊠 \u001b[97m󰊠"
}
]
}