diff --git a/.install/cleanup.sh b/.install/cleanup.sh index bbd5335..436a9a1 100644 --- a/.install/cleanup.sh +++ b/.install/cleanup.sh @@ -36,6 +36,21 @@ if [ -d ~/dotfiles/hypr/settings/modules/waybar/defaults ] ;then echo "~/dotfiles/hypr/settings/modules/waybar/defaults removed." fi +if [ -d ~/dotfiles/hypr/settings/modules/sddm ] ;then + rm -rf ~/dotfiles/hypr/settings/modules/sddm + echo "~/dotfiles/hypr/settings/modules/sddm removed." +fi + +if [ -d ~/dotfiles/hypr/settings/modules/appearance/wallpaper ] ;then + rm -rf ~/dotfiles/hypr/settings/modules/appearance/wallpaper + echo "~/dotfiles/hypr/settings/modules/appearance/wallpaper removed." +fi + +if [ -d ~/dotfiles/hypr/settings/modules/system/swaylock ] ;then + rm -rf ~/dotfiles/hypr/settings/modules/system/swaylock + echo "~/dotfiles/hypr/settings/modules/system/swaylock removed." +fi + # Create default folder structure xdg-user-dirs-update echo "Default folders created..." diff --git a/hypr/settings/modules/system/swaylock/config.sh b/hypr/settings/modules/system/swaylock/config.sh deleted file mode 100644 index 4895cef..0000000 --- a/hypr/settings/modules/system/swaylock/config.sh +++ /dev/null @@ -1,2 +0,0 @@ -name="Toggle Swaylock" -order=1 diff --git a/hypr/settings/modules/system/swaylock/module.sh b/hypr/settings/modules/system/swaylock/module.sh deleted file mode 100755 index 9e6e401..0000000 --- a/hypr/settings/modules/system/swaylock/module.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -_getHeader "$name" "$author" - -echo "Enable/Disable the start of Swaylock. Restart of Hyprland is required after a change." - -# Define File -targetFile="$HOME/dotfiles/hypr/scripts/lockscreentime.sh" -settingsFile="$HOME/dotfiles/.settings/hypr_lockscreen" - -# Define Markers -startMarker="START SWAYIDLE" -endMarker="END SWAYIDLE" - -# Select Value -customvalue=$(gum choose "ENABLE" "DISABLE") - -if [ ! -z $customvalue ]; then - if [ "$customvalue" == "ENABLE" ] ;then - customtext="# exit" - else - customtext="exit" - fi - - _replaceInFile $startMarker $endMarker $customtext $targetFile - _writeSettings $settingsFile $customtext - - # Reload Waybar - setsid $HOME/dotfiles/waybar/launch.sh 1>/dev/null 2>&1 & - _goBack -else - echo "ERROR: Define a value." - sleep 2 - _goBack -fi