{ "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", "display": { "separator": ": ", "showErrors": true }, "modules": [ "title", "separator", // Debian point release diambil dari /etc/debian_version. { "type": "command", "key": "OS Detail", "text": "echo \"Debian GNU/Linux $(cat /etc/debian_version) ($( . /etc/os-release; printf '%s' \"$VERSION_CODENAME\" )) $(uname -m)\"" }, "host", { "type": "bios", "key": "BIOS", "format": "{vendor} {version} ({date})" }, "kernel", "uptime", "packages", "shell", "terminal", // Menampilkan akun manusia (UID >= 1000), bukan akun service/aplikasi. { "type": "command", "key": "User Accounts", "text": "getent passwd | awk -F: '$3 >= 1000 && $3 < 65534 && $7 !~ /(nologin|false)$/ {printf \"%s%s\", sep, $1; sep=\", \"} END {if (sep == \"\") printf \"none\"; print \"\"}'" }, "cpu", "gpu", "memory", "swap", { "type": "disk", "key": "Disk" }, // Format: Ethernet (): [status] - () // Label berwarna magenta dan nama interface berwarna aqua. { "type": "command", "key": " ", "text": "found=0; for p in /sys/class/net/*; do i=${p##*/}; [ \"$i\" = \"lo\" ] && continue; [ -d \"$p/wireless\" ] && continue; found=1; a=$(ip -o -4 addr show dev \"$i\" scope global | awk 'NR==1 {print $4}'); [ -z \"$a\" ] && a=\"no IPv4\"; s=$(cat \"$p/operstate\"); m=$(cat \"$p/address\"); printf '\\033[1;95mEthernet\\033[0m \\033[96m(%s)\\033[0m: %s [%s] - (%s)\\n' \"$i\" \"$a\" \"$s\" \"$m\"; done; [ \"$found\" -eq 0 ] && printf '\\033[1;95mEthernet\\033[0m: No Ethernet device found\\n'" }, // Format: Wi-Fi (): [status] - () // Label berwarna magenta dan nama interface berwarna aqua. { "type": "command", "key": " ", "text": "found=0; for p in /sys/class/net/*; do i=${p##*/}; [ -d \"$p/wireless\" ] || continue; found=1; a=$(ip -o -4 addr show dev \"$i\" scope global | awk 'NR==1 {print $4}'); [ -z \"$a\" ] && a=\"no IPv4\"; s=$(cat \"$p/operstate\"); m=$(cat \"$p/address\"); printf '\\033[1;95mWi-Fi\\033[0m \\033[96m(%s)\\033[0m: %s [%s] - (%s)\\n' \"$i\" \"$a\" \"$s\" \"$m\"; done; [ \"$found\" -eq 0 ] && printf '\\033[1;95mWi-Fi\\033[0m: No Wi-Fi device found\\n'" }, // SSID, frekuensi, keamanan, dan kekuatan sinyal koneksi Wi-Fi aktif. { "type": "wifi", "key": "SSID" }, // Memerlukan akses Internet dan menggunakan layanan eksternal Fastfetch. { "type": "publicip", "key": "Public IP" }, // Menampilkan adapter/radio Bluetooth bawaan komputer. { "type": "bluetoothradio", "key": "Bluetooth Radio", "format": "{name} - {vendor} - Bluetooth {version}" }, // Menampilkan perangkat Bluetooth yang dikenal atau terhubung. { "type": "bluetooth", "key": "Bluetooth Device", "showDisconnected": true, "format": "{name} [{address}] - connected: {connected}" }, "locale", "break", "colors" ] }