Hyprland-dotfiles/.install/screenlock.sh

13 lines
457 B
Bash
Raw Normal View History

2024-02-23 09:39:01 -05:00
#!/bin/bash
echo -e "${GREEN}"
figlet "Screen lock"
echo -e "${NONE}"
if [[ $(_isInstalledYay "hypridle-git") == 1 ]] || [[ $(_isInstalledYay "hyprlock-git") == 1 ]]; then
echo "You can install hypridle and hyprlock lock your screen automatically."
if gum confirm "Do you want to install hypridle and hyprlock?" ;then
yay --noconfirm -S hypridle-git hyprlock-git
fi
else
echo ":: hypridle and hyprlock are already installed."
fi
echo