mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-10-22 11:36:23 +00:00
Remove bashism.
This commit is contained in:
1 parent
e1d21e1047
commit
05315afabd
1 file changed
+1
-1
+1
-1
@@ -12,7 +12,7 @@ KERNEL="$(uname -sr)"
|
||||
UPTIME="$(uptime -p | sed s:"up "::)"
|
||||
PACKAGES="$(xbps-query -l | wc -l)"
|
||||
# shell is already defined
|
||||
if [[ -z "$WM" ]]; then
|
||||
if [ -z "$WM" ]; then
|
||||
WM="$(grep -v "^#" "${HOME}/.xinitrc" | tail -n 1 | cut -d " " -f2)"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user