add fastfetch configuration, remove redundant packages

This commit is contained in:
krolxon 2026-01-12 20:19:20 +05:30
parent 75735c9873
commit 549d1213f5
5 changed files with 190 additions and 5 deletions

View File

@ -0,0 +1,80 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"display": {
"separator": " "
},
"modules": [
{
"key": "╭───────────╮",
"type": "custom"
},
{
"key": "│ {#31} user {#keys}│",
"type": "title",
"format": "{user-name}"
},
{
"key": "│ {#32} display {#keys}│",
"type": "display",
"compactType": "original-with-refresh-rate"
},
{
"key": "│ {#33}󰅐 uptime {#keys}│",
"type": "uptime"
},
{
"key": "│ {#34}󱦟 install {#keys}│",
"type": "command",
"text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days"
},
{
"key": "│ {#35} kernel {#keys}│",
"type": "kernel"
},
{
"key": "│ {#36}󰇄 desktop {#keys}│",
"type": "de"
},
{
"key": "│ {#32} shell {#keys}│",
"type": "shell"
},
{
"key": "│ {#33}󰍛 cpu {#keys}│",
"type": "cpu",
"showPeCoreCount": true
},
{
"key": "│ {#31}󰢮 gpu {#keys}│",
"type": "gpu",
"format": "{2}"
},
{
"key": "│ {#34}󰉉 disk {#keys}│",
"type": "disk",
"folders": "/"
},
{
"key": "│ {#35} memory {#keys}│",
"type": "memory"
},
{
"key": "│ {#36}󰩟 network {#keys}│",
"type": "localip",
"format": "{ipv4} ({ifname})"
},
{
"key": "├───────────┤",
"type": "custom"
},
{
"key": "│ {#39} colors {#keys}│",
"type": "colors",
"symbol": "circle"
},
{
"key": "╰───────────╯",
"type": "custom"
}
]
}

View File

@ -0,0 +1,109 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"height": 10,
"padding": {
"top": 1
}
},
"display": {
"separator": " 󰑃 "
},
"modules": [
"break",
{
"type": "os",
"key": " DISTRO",
"keyColor": "yellow"
},
{
"type": "kernel",
"key": "│ ├",
"keyColor": "yellow"
},
{
"type": "packages",
"key": "│ ├󰏖",
"keyColor": "yellow"
},
{
"type": "shell",
"key": "│ └",
"keyColor": "yellow"
},
{
"type": "wm",
"key": " DE/WM",
"keyColor": "blue"
},
{
"type": "wmtheme",
"key": "│ ├󰉼",
"keyColor": "blue"
},
{
"type": "icons",
"key": "│ ├󰀻",
"keyColor": "blue"
},
{
"type": "cursor",
"key": "│ ├",
"keyColor": "blue"
},
{
"type": "terminalfont",
"key": "│ ├",
"keyColor": "blue"
},
{
"type": "terminal",
"key": "│ └",
"keyColor": "blue"
},
{
"type": "host",
"key": "󰌢 SYSTEM",
"keyColor": "green"
},
{
"type": "cpu",
"key": "│ ├󰻠",
"keyColor": "green"
},
{
"type": "gpu",
"key": "│ ├󰻑",
"format": "{2}",
"keyColor": "green"
},
{
"type": "display",
"key": "│ ├󰍹",
"keyColor": "green",
"compactType": "original-with-refresh-rate"
},
{
"type": "memory",
"key": "│ ├󰾆",
"keyColor": "green"
},
{
"type": "swap",
"key": "│ ├󰓡",
"keyColor": "green"
},
{
"type": "uptime",
"key": "│ ├󰅐",
"keyColor": "green"
},
{
"type": "display",
"key": "│ └󰍹",
"keyColor": "green"
},
"break"
]
}

View File

@ -88,6 +88,7 @@ install_prerequisites() {
################# #################
## Installs prerequisites ## Installs prerequisites
log INFO "Installing prerequisites: "
install_prerequisites install_prerequisites
currentDir="$(dirname "$(readlink -f "$0")")" currentDir="$(dirname "$(readlink -f "$0")")"

View File

@ -1,7 +1,6 @@
#!/bin/env bash #!/bin/env bash
export pkg_dev_tools=( export pkg_dev_tools=(
"git"
"neovim" "neovim"
"platformio-core" "platformio-core"
"tmux" "tmux"

View File

@ -27,7 +27,6 @@ export pkg_utils=(
"ghostscript" "ghostscript"
"gobject-introspection" "gobject-introspection"
"gparted" "gparted"
"grub"
"gvfs" "gvfs"
"gvfs-mtp" "gvfs-mtp"
"imagemagick" "imagemagick"
@ -63,7 +62,6 @@ export pkg_utils=(
"ripgrep" "ripgrep"
"rsync" "rsync"
"sshfs" "sshfs"
"stow"
"tesseract" "tesseract"
"transmission-cli" "transmission-cli"
"noto-fonts" "noto-fonts"
@ -72,7 +70,6 @@ export pkg_utils=(
"ttf-jetbrains-mono-nerd" "ttf-jetbrains-mono-nerd"
"tree" "tree"
"unzip" "unzip"
"waybar"
"wget" "wget"
"woff2-font-awesome" "woff2-font-awesome"
"wtype" "wtype"
@ -83,7 +80,6 @@ export pkg_utils=(
"zathura-pdf-mupdf" "zathura-pdf-mupdf"
"zip" "zip"
"zola" "zola"
"zsh"
"zsh-autosuggestions" "zsh-autosuggestions"
) )