From 6c0937a30158138760fd740c8a192f73bb4dcc54 Mon Sep 17 00:00:00 2001 From: Tulip Blossom Date: Sun, 29 Dec 2024 20:58:29 -0300 Subject: [PATCH] feat(bluefin, branding): add bluefin fastfetch configuration directly here (#86) --- bluefin/branding/bluefin-branding.spec | 14 ++- bluefin/branding/fastfetch/fastfetch.jsonc | 105 +++++++++++++++++++++ 2 files changed, 118 insertions(+), 1 deletion(-) create mode 100644 bluefin/branding/fastfetch/fastfetch.jsonc diff --git a/bluefin/branding/bluefin-branding.spec b/bluefin/branding/bluefin-branding.spec index 90f9491..7b87269 100644 --- a/bluefin/branding/bluefin-branding.spec +++ b/bluefin/branding/bluefin-branding.spec @@ -3,7 +3,7 @@ Name: bluefin Version: 0.1.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Bluefin branding License: CC-BY-CA @@ -32,6 +32,7 @@ mv wallpapers/* %{buildroot}%{_datadir}/backgrounds/%{vendor} mv faces %{buildroot}%{_datadir}/pixmaps/faces/bluefin mv logos/* %{buildroot}%{_datadir}/pixmaps mv cli-logos %{buildroot}%{_datadir}/ublue-os/bluefin-logos +mv fastfetch/fastfetch.jsonc %{buildroot}%{_datadir}/ublue-os/fastfetch.jsonc mv schemas/dconf %{buildroot}%{_sysconfdir} mv schemas/glib-2.0 %{buildroot}%{_datadir} @@ -63,6 +64,17 @@ Logos for CLI applications like Fastfetch %files cli-logos %attr(0755,root,root) %{_datadir}/ublue-os/bluefin-logos/* +%package fastfetch +Summary: Fastfetch configuration for Bluefin +License: CC-BY-CA + +%description fastfetch +Fastfetch configuration for Bluefin + +%files fastfetch +%attr(0755,root,root) %{_datadir}/ublue-os/fastfetch.jsonc + + %package schemas Summary: GNOME Schemas for Bluefin diff --git a/bluefin/branding/fastfetch/fastfetch.jsonc b/bluefin/branding/fastfetch/fastfetch.jsonc new file mode 100644 index 0000000..e5cb837 --- /dev/null +++ b/bluefin/branding/fastfetch/fastfetch.jsonc @@ -0,0 +1,105 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "display": { + "separator": "  ", + "color": { + "keys": "38;2;87;160;198" + } + }, + "modules": [ + { + "type": "title", + "key": "", + "color": { + "user": "38;2;87;160;198", + "at": "white", + "host": "bright_green" + } + }, + "break", + { + "type": "command", + "key": "󱋩", + "text": "/usr/libexec/ublue-image-info.sh" + }, + { + "type": "os", + "key": "󰣛", + "format": "{pretty-name}" + }, + { + "type": "kernel", + "key": "", + "format": "{1} {2}" + }, + { + "type": "uptime", + "key": "󰅐" + }, + { + "type": "command", + "key": "󰔠", + "text": "date -d$(ls -alct / --time-style=full-iso|tail -1|awk '{print $6}') +'Forged on %b %d %G'", + "shell": "/bin/bash" + }, + "break", + { + "type": "host", + "key": "󰾰" + }, + { + "type": "cpu", + "key": "󰻠" + }, + { + "type": "gpu", + "key": "󰍛" + }, + { + "type": "memory", + "key": "󰧑" + }, + { + "type": "disk", + "key": "" + }, + { + "type": "display", + "key": "󰍹" + }, + { + "type": "battery", + "key": "" + }, + { + "type": "gamepad", + "key": "󰖺" + }, + "break", + { + "type": "de", + "key": "󰕮" + }, + { + "type": "wm", + "key": "" + }, + { + "type": "shell", + "key": "" + }, + { + "type": "terminal", + "key": "" + }, + { + "type": "packages", + "key": "󰏖" + }, + "break", + { + "type": "colors", + "paddingLeft": 2 + } + ] +}