From 3ca76c52f81e2164fe1fd3b0800b201b84b13f59 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Tue, 30 Jan 2024 21:53:38 -0700 Subject: [PATCH] Change to fastfetch and create initial configs with just logos --- bash/bashrc | 9 ++++----- fastfetch/archlinux.jsonc | 8 ++++++++ fastfetch/config.jsonc | 37 +++++++++++++++++++++++++++++++++++++ fastfetch/debian.jsonc | 12 ++++++++++++ fastfetch/toolbox.jsonc | 5 +++++ fastfetch/ubuntu.jsonc | 30 ++++++++++++++++++++++++++++++ 6 files changed, 96 insertions(+), 5 deletions(-) create mode 100644 fastfetch/archlinux.jsonc create mode 100644 fastfetch/config.jsonc create mode 100644 fastfetch/debian.jsonc create mode 100644 fastfetch/toolbox.jsonc create mode 100644 fastfetch/ubuntu.jsonc diff --git a/bash/bashrc b/bash/bashrc index 7d0e23e12..f09a1c3a2 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -119,11 +119,10 @@ fi source "$HOME/.cargo/env" source ~/perl5/perlbrew/etc/bashrc . "$HOME/.cargo/env" - -if [[ -n "$(which neofetch 2> /dev/null)" ]]; then - if [ -n $DISTROBOX ] && [ -e ${HOME}/.dotfiles/neofetch/${DISTROBOX}.conf ]; then - neofetch --config ${HOME}/.dotfiles/neofetch/${DISTROBOX}.conf +if [[ -n "$(which fastfetch 2> /dev/null)" ]]; then + if [ -n $DISTROBOX ] && [ -e ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc ]; then + fastfetch -C ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc else - neofetch --config ${HOME}/.dotfiles/neofetch/config.conf + fastfetch -C ${HOME}/.dotfiles/fastfetch/config.jsonc fi fi diff --git a/fastfetch/archlinux.jsonc b/fastfetch/archlinux.jsonc new file mode 100644 index 000000000..977e8a590 --- /dev/null +++ b/fastfetch/archlinux.jsonc @@ -0,0 +1,8 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "source": "Archlinux" + }, + "modules": [ + ] +} diff --git a/fastfetch/config.jsonc b/fastfetch/config.jsonc new file mode 100644 index 000000000..a13e37955 --- /dev/null +++ b/fastfetch/config.jsonc @@ -0,0 +1,37 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "source": "Fedora-sericea" + }, + "modules": [ + //"title", + //"separator", + //"os", + //"host", + //"kernel", + //"uptime", + //"packages", + //"shell", + //"display", + //"de", + //"wm", + //"wmtheme", + //"theme", + //"icons", + //"font", + //"cursor", + //"terminal", + //"terminalfont", + //"cpu", + //"gpu", + //"memory", + //"swap", + //"disk", + //"localip", + //"battery", + //"poweradapter", + //"locale", + //"break", + //"colors" + ] +} diff --git a/fastfetch/debian.jsonc b/fastfetch/debian.jsonc new file mode 100644 index 000000000..686d70a1e --- /dev/null +++ b/fastfetch/debian.jsonc @@ -0,0 +1,12 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "source": "Debian", + "color": { + "1": "bright_red", + "2": "red" + } + }, + "modules": [ + ] +} diff --git a/fastfetch/toolbox.jsonc b/fastfetch/toolbox.jsonc new file mode 100644 index 000000000..a38d0aa78 --- /dev/null +++ b/fastfetch/toolbox.jsonc @@ -0,0 +1,5 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "modules": [ + ] +} diff --git a/fastfetch/ubuntu.jsonc b/fastfetch/ubuntu.jsonc new file mode 100644 index 000000000..baec89f06 --- /dev/null +++ b/fastfetch/ubuntu.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "source": "Ubuntu", + "height": 18, + "printremaining": 0 + }, + "modules": [ + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break", + "break" + ] +}