summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2023-11-01 20:27:41 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2023-11-01 20:27:41 +0100
commitec900129faebdc738cf3cedbf6992d1bf9eca5e9 (patch)
tree36d044c0a359dfb60ac1aad48ca20933523915bd
parentgit: among us (diff)
fastfetch: move to jsonc, use new ~ expansion
-rw-r--r--dot_config/fastfetch/config.conf.tmpl13
-rw-r--r--dot_config/fastfetch/config.jsonc36
2 files changed, 36 insertions, 13 deletions
diff --git a/dot_config/fastfetch/config.conf.tmpl b/dot_config/fastfetch/config.conf.tmpl
deleted file mode 100644
index 0cfb782..0000000
--- a/dot_config/fastfetch/config.conf.tmpl
+++ /dev/null
@@ -1,13 +0,0 @@
-# global
---multithreading 4
-
-# logo
---sixel {{.chezmoi.homeDir}}/Pictures/fetch.png
---logo-width 45
---logo-padding-right 1
-
-# modules
--s Title:Tosti:Separator:DateTime:OS:Host:Kernel:Uptime:Packages:Shell:Display:CPU:GPU:Memory:Disk:Colors
---set-keyless Tosti=im Tosti
-
-# module configs
diff --git a/dot_config/fastfetch/config.jsonc b/dot_config/fastfetch/config.jsonc
new file mode 100644
index 0000000..56b00c2
--- /dev/null
+++ b/dot_config/fastfetch/config.jsonc
@@ -0,0 +1,36 @@
+{
+ // preamble
+ "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
+
+ "modules": [
+ "title",
+ {
+ "type": "custom",
+ "format": "im tosti",
+ },
+ "separator",
+ "version",
+ "datetime",
+ "os",
+ "host",
+ "kernel",
+ "uptime",
+ "packages",
+ "shell",
+ "display",
+ "cpu",
+ "gpu",
+ "memory",
+ "disk",
+ "colors"
+ ],
+
+ "logo": {
+ "type": "sixel",
+ "source": "~/Pictures/fetch.png",
+ "width": 45,
+ "padding": {
+ "right": 1
+ }
+ },
+}