adaptation to trixie and excalibur
This commit is contained in:
@@ -73,9 +73,9 @@ showinfo()
|
|||||||
local figopt="-f ansi_shadow"
|
local figopt="-f ansi_shadow"
|
||||||
fi
|
fi
|
||||||
if [[ -n $figopt ]]; then
|
if [[ -n $figopt ]]; then
|
||||||
figlet -k "$figopt" "$(hostname)"
|
figlet -k $figopt $(hostname)
|
||||||
else
|
else
|
||||||
figlet "$(hostname)"
|
figlet $(hostname)
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
hostname -f
|
hostname -f
|
||||||
@@ -83,6 +83,8 @@ showinfo()
|
|||||||
echo ""
|
echo ""
|
||||||
if command -v neofetch >/dev/null 2>&1; then
|
if command -v neofetch >/dev/null 2>&1; then
|
||||||
neofetch
|
neofetch
|
||||||
|
elif command -v fastfetch >/dev/null 2>&1; then
|
||||||
|
fastfetch
|
||||||
else
|
else
|
||||||
(
|
(
|
||||||
if [[ -s /etc/os-release ]]; then
|
if [[ -s /etc/os-release ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user