This commit is contained in:
Stephan Raabe 2024-02-23 15:39:01 +01:00
parent 0c12a540d3
commit c599054e50
3 changed files with 14 additions and 2 deletions

View File

@ -10,8 +10,6 @@ packagesPacman=(
packagesYay=(
"swww"
"hypridle-git"
"hyprlock-git"
"wlogout"
"nwg-look"
"emote"

13
.install/screenlock.sh Executable file
View File

@ -0,0 +1,13 @@
#!/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

View File

@ -49,6 +49,7 @@ if [[ $profile == *"Hyprland"* ]]; then
echo -e "${NONE}"
source .install/packages/hyprland-packages.sh
source .install/install-packages.sh
source .install/screenlock.sh
fi
if [[ $profile == *"Qtile"* ]]; then
echo -e "${GREEN}"