Hyprland-dotfiles/.install/diagnosis.sh

29 lines
877 B
Bash
Raw Normal View History

2024-05-03 03:20:03 -04:00
echo -e "${GREEN}"
figlet "System check"
echo -e "${NONE}"
echo "The system check will test that essential packages and "
echo "execution commands are available now on your system."
2024-05-27 11:30:11 -04:00
echo
2024-05-03 03:20:03 -04:00
if gum confirm "Do you want to run a short system check?" ;then
_folderExists "$HOME/dotfiles" "Please repeat the installation."
_commandExists "rofi" "rofi-wayland"
_commandExists "dunst" "dunst"
_commandExists "waybar" "waybar"
_commandExists "hyprpaper" "hyprpaper"
_commandExists "hyprlock" "hyprpaper"
_commandExists "hypridle" "hyprpaper"
_commandExists "wal" "python-pywal"
_commandExists "gum" "gum"
_commandExists "wlogout" "wlogout"
_commandExists "eww" "eww"
_commandExists "magick" "imagemagick"
2024-06-24 10:07:26 -04:00
_commandExists "waypaper" "waypaper"
2024-05-03 03:20:03 -04:00
elif [ $? -eq 130 ]; then
exit 130
else
echo ":: System check skipped"
fi
echo ""