mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-10-14 10:20:04 +00:00
amend package count
else the args are too long for ls.
This commit is contained in:
1 parent
30da87aa1d
commit
00336b3d9b
1 file changed
+1
-1
+1
-1
@@ -10,7 +10,7 @@ host="$(hostname)"
|
||||
os="$(nixos-version)"
|
||||
kernel="$(uname -sr)"
|
||||
uptime="$(uptime -p | sed 's/up //')"
|
||||
packages="$(ls -d -1 /nix/store/* | wc -l)"
|
||||
packages="$(ls -d -1 /nix/store/ | wc -l)"
|
||||
shell="$(basename ${SHELL})"
|
||||
if [ -z "${WM}" ]; then
|
||||
WM="$(tail -n 1 "${HOME}/.xinitrc" | cut -d ' ' -f 2)"
|
||||
|
||||
Reference in new issue
Block a user