From c6d5376f4359efe3b3a6796f8815c36d42e26494 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Tue, 27 Feb 2024 15:22:31 +0100 Subject: [PATCH] Updates --- .install/remove.sh | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.install/remove.sh b/.install/remove.sh index 5f27473..bb30eb6 100755 --- a/.install/remove.sh +++ b/.install/remove.sh @@ -1,4 +1,20 @@ #!/bin/bash + +# Remove Swayidle +if [[ $(_isInstalledPacman "swayidle") == 0 ]]; then + sudo pacman --noconfirm -Rns swayidle + echo ":: swayidle removed" + echo +fi + +# Remove Swaylock +if [[ $(_isInstalledYay "swaylock-effects-git") == 0 ]]; then + yay --noconfirm -Rns swaylock-effects-git + echo ":: swaylock removed" + echo +fi + +# Remove hypridle-bin if [[ $(_isInstalledYay "hypridle-git") == 0 ]]; then yay --noconfirm -Rns hypridle-git if [ -f /usr/lib/debug/usr/bin/hypridle.debug ] ;then @@ -9,6 +25,8 @@ if [[ $(_isInstalledYay "hypridle-git") == 0 ]]; then echo ":: hypridle can now be installed." echo fi + +# Remove hypridle-bin if [[ $(_isInstalledYay "hyprlock-git") == 0 ]]; then yay --noconfirm -Rns hyprlock-git if [ -f /usr/lib/debug/usr/bin/hyprlock.debug ] ;then @@ -17,5 +35,5 @@ if [[ $(_isInstalledYay "hyprlock-git") == 0 ]]; then fi echo ":: hyprlock-git uninstalled." echo ":: hyprlock can now be installed." -fi -echo \ No newline at end of file + echo +fi \ No newline at end of file