Hyprland-dotfiles/.install/screenlock.sh
Stephan Raabe c599054e50 Updates
2024-02-23 15:39:01 +01:00

13 lines
457 B
Bash
Executable File

#!/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