From: Andre Ramnitz Date: Mon, 10 Jun 2024 20:26:55 +0000 (+0200) Subject: fastfetch: update config for new version X-Git-Tag: v0.2~174 X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=1377d1a5b5de99deca02c0c24a6350b83113dc95;p=dotfiles.git fastfetch: update config for new version --- diff --git a/config/fastfetch/config.conf b/config/fastfetch/config.conf index 69bb33d2..c447aac7 100644 --- a/config/fastfetch/config.conf +++ b/config/fastfetch/config.conf @@ -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. @@ -150,7 +153,7 @@ # 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. @@ -185,17 +188,17 @@ # 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. @@ -328,7 +331,7 @@ # 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. diff --git a/config/fastfetch/config.jsonc b/config/fastfetch/config.jsonc index 93c665cf..4ca3c2f5 100644 --- a/config/fastfetch/config.jsonc +++ b/config/fastfetch/config.jsonc @@ -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", @@ -14,18 +16,26 @@ "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 index 00000000..cab19921 --- /dev/null +++ b/config/fastfetch/default.jsonc @@ -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 index 00000000..85642f58 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 index 00000000..94ff1455 --- /dev/null +++ b/config/fish/functions/fastfetch.fish @@ -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