summary refs log tree commit diff
path: root/sif.sh
diff options
context:
space:
mode:
authorDruid520 <r.ustydruid520@proton.me>2026-08-04 21:33:21 -0700
committerDruid520 <r.ustydruid520@proton.me>2026-08-04 21:33:21 -0700
commita8931e37deb494d4908a720b6cdc9cbd0d7779d3 (patch)
tree82a183bd3c7fb50dab7ce5d618b4c7c9c9d2d4e3 /sif.sh
parent3ca63327fe657b5e970642b23541a9bbd6992da1 (diff)
MOD: add punctioation
Diffstat (limited to 'sif.sh')
-rwxr-xr-xsif.sh34
1 files changed, 17 insertions, 17 deletions
diff --git a/sif.sh b/sif.sh index 4f67440..4be8315 100755 --- a/sif.sh +++ b/sif.sh
@@ -12,21 +12,21 @@ UDSK=$(df -m / | awk 'NR==2{print $3}')
12 12
13if [ "$1" = "-h" ]; then 13if [ "$1" = "-h" ]; then
14 cat <<EOF 14 cat <<EOF
15sif - simple info fetcher 15sif - simple info fetcher.
16 16
17usage: sif [-h/-v] 17usage: sif [-h/-v].
18 18
19options: 19options:
20 -h, shows this help 20 -h, shows this help.
21 -v, shows ver 21 -v, shows ver.
22EOF 22EOF
23 exit 0 23 exit 0
24fi 24fi
25 25
26if [ "$1" = "-v" ]; then 26if [ "$1" = "-v" ]; then
27 cat <<EOF 27 cat <<EOF
28ver: 1.0 28ver: 1.0.
29license: gpl-3.0-or-later 29license: gpl-3.0-or-later.
30EOF 30EOF
31 exit 0 31 exit 0
32fi 32fi
@@ -59,17 +59,17 @@ else
59fi 59fi
60 60
61echo "${USER}@${HOST}" 61echo "${USER}@${HOST}"
62echo "os: ${OS}" 62echo "os: ${OS}."
63echo "kernel: ${KERN}" 63echo "kernel: ${KERN}."
64echo "shell: ${SHELL##*/}" # saves a shell fork 64echo "shell: ${SHELL##*/}." # saves a shell fork
65echo "pkgs: ${PKGC} (${PKGM})" 65echo "pkgs: ${PKGC} (${PKGM})."
66echo "editor: ${EDITOR}" 66echo "editor: ${EDITOR}."
67echo "de/wm: ${XDG_CURRENT_DESKTOP:-$DESKTOP_SESSION}" 67echo "de/wm: ${XDG_CURRENT_DESKTOP:-$DESKTOP_SESSION}."
68echo "term: ${TERM}" 68echo "term: ${TERM}."
69echo "cpu: ${CPU}" 69echo "cpu: ${CPU}."
70echo "gpu: ${GPU}" 70echo "gpu: ${GPU}."
71echo "mem: ${UMEM}MiB/${TMEM}MiB" 71echo "mem: ${UMEM}MiB/${TMEM}MiB."
72echo "disk: ${UDSK}MiB/${TDSK}MiB" 72echo "disk: ${UDSK}MiB/${TDSK}MiB."
73 73
74 74
75 75