Add hyprlock and hypridle

This commit is contained in:
Stephan Raabe
2024-02-23 13:47:01 +01:00
parent f6564b4b75
commit 42d3c5d8f9
12 changed files with 76 additions and 105 deletions

View File

@@ -51,6 +51,16 @@ if [ -d ~/dotfiles/hypr/settings/modules/system/swaylock ] ;then
echo "~/dotfiles/hypr/settings/modules/system/swaylock removed."
fi
# Remove Swayidle
if [[ $(_isInstalledPacman "swayidle") == 0 ]]; then
sudo pacman --noconfirm -Rns swayidle
fi
# Remove Swaylock
if [[ $(_isInstalledYay "swaylock-effects-git") == 0 ]]; then
yay --noconfirm -Rns swaylock-effects-git
fi
# Create default folder structure
xdg-user-dirs-update
echo "Default folders created..."