-
-
Notifications
You must be signed in to change notification settings - Fork 451
Open
Labels
Description
I'm submitting a ... (check one with "x")
[x] bug report
[ ] new distro request
Bug report
=> search Github for a similar issue or PR before submitting
=> download the latest revision from Github and check if the bug is still present
-> https://github.com/KittyKatt/screenFetch/raw/master/screenfetch-dev
=> Show us the output of: screenfetch -v
New distro request
Distro name:
Homepage:
Distro logo:
Package manager:
Show us the output of
=> lsb_release -sirc
=> cat /etc/os-release
=> ls -1 /etc/*-release
Error near line 1892
mem=$(free -b | "${AWK}" -F ':' 'NR==2{print $2}' | "${AWK}" '{print $1"-"$6}')
usedmem=$((mem / 1024 / 1024))
totalmem=$((${mem//-*} / 1024 / 1024))Command free -b error
free: Multiple unit options don't make sense.My OS is manjaro
$ bash screenfetch-dev
screenfetch-dev: 行 1892: -: 语法错误:需要操作数(错误记号是 "-")
██████████████████ ████████ witt@witt-cool
██████████████████ ████████ OS: Manjaro 24.2.1 Yonada
██████████████████ ████████ Kernel: x86_64 Linux 6.12.4-1-MANJARO
██████████████████ ████████ Uptime: 3d 9h 14m
████████ ████████ Packages: 1378
████████ ████████ ████████ Shell: zsh 5.9
████████ ████████ ████████ Resolution: 3840x1080
████████ ████████ ████████ DE: KDE
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ GTK Theme: WhiteSur-Dark-solid-alt-blue [GTK2/3]
████████ ████████ ████████ Icon Theme: Tela-circle-manjaro-light
████████ ████████ ████████ Disk: 215G / 459G (50%)
████████ ████████ ████████ CPU: AMD Ryzen 5 4500U with Radeon Graphics @ 6x 2.375GHz
████████ ████████ ████████ GPU: AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.59, 6.12.4-1-MANJARO)
RAM: -