]> Freerunner's - dotfiles.git/commitdiff
fastfetch: update config for new version
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 10 Jun 2024 20:26:55 +0000 (22:26 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 19:05:38 +0000 (21:05 +0200)
config/fastfetch/config.conf
config/fastfetch/config.jsonc
config/fastfetch/default.jsonc [new file with mode: 0644]
config/fastfetch/gentoo.png [new file with mode: 0644]
config/fish/functions/fastfetch.fish [new file with mode: 0644]

index 69bb33d2a1b0af1ca643be2bf3ba53ef0320a9c0..c447aac794f746505cf612920cac7955bd736f94 100644 (file)
@@ -1,3 +1,5 @@
+# *** L E G A C Y    C O N F I G    O N L Y ***
+
 # Fastfetch configuration
 # Write every argument in different lines.
 # Direct arguments will overwrite the corresponding ones in this file.
@@ -83,6 +85,7 @@
 # Must be auto, builtin, file, file-raw, data, data-raw, sixel, kitty or chafa.
 # Default is auto.
 #--logo-type auto
+--logo-type sixel
 
 # Logo width option:
 # Sets the width of the logo (in characters) if the logo is an image.
 # Must be linux console color codes or the name of a color.
 # Default is the title color of the logo.
 # Use "fastfetch --help color" to learn more and see examples.
-#--color-title magenta
+# --color-title cyan
 
 # Binary prefix option:
 # Sets the binary prefix to use.
 # Title user color option:
 # Sets color of the user name (left part).
 # Default is empty (use color of `--color-title`).
-#--title-color-user
+--title-color-user cyan
 
 # Title at color option:
 # Sets color of the @ symbol (middle part).
 # Default is empty (use color of `--color-title`).
-#--title-color-at
+--title-color-at red
 
 # Title host color option:
 # Sets color of the host name (right part).
 # Default is empty (use color of `--color-title`).
-#--title-color-host
+--title-color-host cyan
 
 # Separator option:
 # Sets the string placed between a key and its value.
 # Sets if all sound devices should be printed
 # Must be either main, active or all. Default is main
 # Default is main.
-#--sound-type main
+# --sound-type main
 
 # Percentage output type option
 # Applies to all modules that prints percentage values. Currently memory, swap, disk, battery and CPU usage are supported.
index 93c665cfd1c6719684b3876e3cde9208386811a1..4ca3c2f5791729b1ace4416eaefce4ef9aa1d50b 100644 (file)
@@ -2,10 +2,12 @@
   "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
   "logo": {
     "padding": {
-      "top": 1,
-      "left": 4
+      "top": 2
     }
   },
+  "display": {
+    "separator": " -> "
+  },
   "modules": [
     "title",
     "separator",
     "kernel",
     "uptime",
     "packages",
-    "locale",
     "shell",
+    "display",
     "de",
     "wm",
+    "wmtheme",
+    "theme",
+    "icons",
+    "font",
+    "cursor",
     "terminal",
-    "separator",
+    "terminalfont",
     "cpu",
     "gpu",
-    "display",
     "memory",
     "swap",
     "disk",
+    "localip",
+    "battery",
+    "poweradapter",
+    "locale",
     "break",
     "colors"
   ]
diff --git a/config/fastfetch/default.jsonc b/config/fastfetch/default.jsonc
new file mode 100644 (file)
index 0000000..cab1992
--- /dev/null
@@ -0,0 +1,138 @@
+// Load with --load-config examples/2.jsonc
+// Note that you must replace the image path to an existing image to display it.
+
+{
+    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
+    "logo": {
+               "preserveAspectRatio": "true",
+               "source": "$HOME/.config/fastfetch/gentoo.png",
+               "width": 50,
+        "padding": {
+            "top": 2
+        }
+    },
+    "display": {
+        // "separator": " -> "
+        "separator": " "
+    },
+    "modules": [
+        "title",
+        "separator",
+        {
+            "type": "os",
+            "key": " OS",
+            "keyColor": "yellow",
+            "format": "{2}"
+        },
+        {
+            "type": "kernel",
+            "key": "├",
+            "keyColor": "yellow"
+        },
+        {
+            "type": "packages",
+            "key": "├󰏖",
+            "keyColor": "yellow"
+        },
+        {
+            "type": "shell",
+            "key": "└",
+            "keyColor": "yellow"
+        },
+        "break",
+
+        {
+            "type": "wm",
+            "key": " DE/WM",
+            "keyColor": "blue"
+        },
+        {
+            "type": "lm",
+            "key": "├󰧨",
+            "keyColor": "blue"
+        },
+        {
+            "type": "wmtheme",
+            "key": "├󰉼",
+            "keyColor": "blue"
+        },
+        {
+            "type": "icons",
+            "key": "├󰀻",
+            "keyColor": "blue"
+        },
+        {
+            "type": "terminal",
+            "key": "├",
+            "keyColor": "blue"
+        },
+        {
+            "type": "wallpaper",
+            "key": "└󰸉",
+            "keyColor": "blue"
+        },
+
+        "break",
+        {
+            "type": "host",
+            "key": "󰌢 PC",
+            "keyColor": "green"
+        },
+        {
+            "type": "cpu",
+            "key": "├󰻠",
+            "keyColor": "green"
+        },
+        {
+            "type": "gpu",
+            "key": "├󰍛",
+            "keyColor": "green"
+        },
+        {
+            "type": "memory",
+            "key": "├󰑭",
+            "keyColor": "green"
+        },
+        {
+            "type": "swap",
+            "key": "├󰓡",
+            "keyColor": "green"
+        },
+        {
+            "type": "disk",
+                       "folders": "/",
+            "key": "├",
+            "keyColor": "green"
+        },
+        {
+            "type": "uptime",
+            "key": "├󰅐",
+            "keyColor": "green"
+        },
+        {
+            "type": "display",
+            "key": "└󰍹",
+            "keyColor": "green"
+        },
+
+        "break",
+        {
+            "type": "sound",
+            "key": " SOUND",
+            "keyColor": "cyan"
+        },
+        {
+            "type": "player",
+            "key": "├󰥠",
+            "keyColor": "cyan"
+        },
+        {
+            "type": "media",
+            "key": "└󰝚",
+            "keyColor": "cyan"
+        },
+
+        "break",
+        "colors"
+    ]
+}
diff --git a/config/fastfetch/gentoo.png b/config/fastfetch/gentoo.png
new file mode 100644 (file)
index 0000000..85642f5
Binary files /dev/null and b/config/fastfetch/gentoo.png differ
diff --git a/config/fish/functions/fastfetch.fish b/config/fish/functions/fastfetch.fish
new file mode 100644 (file)
index 0000000..94ff145
--- /dev/null
@@ -0,0 +1,4 @@
+function fastfetch --description 'alias fastfetch=fastfetch -c "$HOME"/.config/fastfetch/default.jsonc'
+ command fastfetch -c "$HOME"/.config/fastfetch/default.jsonc $argv
+        
+end