From 3ca63327fe657b5e970642b23541a9bbd6992da1 Mon Sep 17 00:00:00 2001 From: Druid520 Date: Sun, 26 Jul 2026 23:55:43 -0700 Subject: MOD: add term support and clean up comments --- sif.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sif.sh') diff --git a/sif.sh b/sif.sh index 8170d25..4f67440 100755 --- a/sif.sh +++ b/sif.sh @@ -1,10 +1,5 @@ #!/usr/bin/env sh -# sif - simple info fetcher -# made by Druid520 -# licensed gpl-3.0-or-later -# https://www.gnu.org/licenses/gpl-3.0-standalone.html - HOST=$(hostname -s) CPU=$(cat /proc/cpuinfo | grep "model name" | head -1 | cut -d':' -f2) GPU=$(lspci | grep -i "vga\|3d\|display" | head -1 | cut -d':' -f3) # requires pciutils @@ -70,6 +65,7 @@ echo "shell: ${SHELL##*/}" # saves a shell fork echo "pkgs: ${PKGC} (${PKGM})" echo "editor: ${EDITOR}" echo "de/wm: ${XDG_CURRENT_DESKTOP:-$DESKTOP_SESSION}" +echo "term: ${TERM}" echo "cpu: ${CPU}" echo "gpu: ${GPU}" echo "mem: ${UMEM}MiB/${TMEM}MiB" -- cgit 1.4.1