commit 75313ac41a42647aee6546f179e826e3d4fd1b59
parent 833293d854e5755d6511486a8f74adc1a0767a0e
Author: torter <koubbamohamedrayan@gmail.com>
Date: Fri, 23 Oct 2026 15:51:52 -0400
fastfetch just says Chamesle Linux, no edition
its config moves from the iso into chamesle-base, so installed systems get it with the update too
Diffstat:
5 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/overlay/etc/xdg/fastfetch/config.jsonc b/overlay/etc/xdg/fastfetch/config.jsonc
@@ -1,15 +0,0 @@
-{
- "logo": {
- "source": "/usr/share/chamesle/logo.txt",
- "color": { "1": "green", "2": "red", "3": "blue" },
- "padding": { "top": 1 }
- },
- "display": { "color": { "keys": "blue" } },
- "modules": [
- "title", "separator",
- "os", "host", "kernel", "uptime", "packages", "shell",
- "display", "de", "wm", "theme", "icons", "font", "terminal",
- "cpu", "gpu", "memory", "swap", "disk", "localip", "battery", "locale",
- "break", "colors"
- ]
-}
diff --git a/tools/pkg/chamesle-base/files/etc/xdg/fastfetch/config.jsonc b/tools/pkg/chamesle-base/files/etc/xdg/fastfetch/config.jsonc
@@ -0,0 +1,15 @@
+{
+ "logo": {
+ "source": "/usr/share/chamesle/logo.txt",
+ "color": { "1": "green", "2": "red", "3": "blue" },
+ "padding": { "top": 1 }
+ },
+ "display": { "color": { "keys": "blue" } },
+ "modules": [
+ "title", "separator",
+ { "type": "os", "format": "{name}" }, "host", "kernel", "uptime", "packages", "shell",
+ "display", "de", "wm", "theme", "icons", "font", "terminal",
+ "cpu", "gpu", "memory", "swap", "disk", "localip", "battery", "locale",
+ "break", "colors"
+ ]
+}
diff --git a/tools/pkg/chamesle-base/post-install b/tools/pkg/chamesle-base/post-install
@@ -1,4 +1,6 @@
#!/bin/sh
+# the iso put fastfetch's config there before this package had it: apk left ours next to it as .apk-new
+[ -f /etc/xdg/fastfetch/config.jsonc.apk-new ] && mv -f /etc/xdg/fastfetch/config.jsonc.apk-new /etc/xdg/fastfetch/config.jsonc
# load them now too, no reboot needed
/usr/lib/dinit/modules
# chamesle is rolling: the version the system says it runs is this package's, not the iso it came from
diff --git a/tools/pkg/chamesle-base/post-upgrade b/tools/pkg/chamesle-base/post-upgrade
@@ -1,4 +1,6 @@
#!/bin/sh
+# the iso put fastfetch's config there before this package had it: apk left ours next to it as .apk-new
+[ -f /etc/xdg/fastfetch/config.jsonc.apk-new ] && mv -f /etc/xdg/fastfetch/config.jsonc.apk-new /etc/xdg/fastfetch/config.jsonc
# load them now too, no reboot needed
/usr/lib/dinit/modules
# chamesle is rolling: the version the system says it runs is this package's, not the iso it came from
diff --git a/tools/pkg/chamesle-base/recipe b/tools/pkg/chamesle-base/recipe
@@ -1,6 +1,6 @@
name=chamesle-base
version=0.2.1
-rel=2
+rel=3
desc="Chamesle system setup: sound, kernel modules at boot, a few small touches"
url=https://chamesle.org
license=GPL-3.0-or-later