mirror of
https://github.com/khadas/fenix.git
synced 2025-08-21 02:24:24 +00:00
22 lines
509 B
Bash
Executable File
22 lines
509 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Only for desktop
|
|
if ! which lightdm; then
|
|
exit
|
|
fi
|
|
|
|
. /etc/fenix-release
|
|
|
|
FENIX=${VERSION}
|
|
LINUX=$(uname -r)
|
|
UBOOT=$(dpkg -l | grep "linux-u-boot" | awk '{print $3}')
|
|
|
|
zenity --info \
|
|
--title 'System Information' \
|
|
--text="<big><b>Fenix: <span foreground=\"blue\">${FENIX}</span>\nLinux: <span foreground=\"blue\">${LINUX}</span>\nU-boot: <span foreground=\"blue\">${UBOOT}</span></b></big>" \
|
|
--window-icon=/etc/fenix/icons/systeminfo.png \
|
|
--width=250 \
|
|
--height=50
|
|
|
|
exit
|