JaKooLit / Fedora-Hyprland

For automated installation of Hyprland on Fedora 38, 39 & 40 or any Fedora based distros
GNU General Public License v3.0
833 stars 65 forks source link

Uninstall script #105

Closed Vdcds closed 2 months ago

Vdcds commented 2 months ago

Pull Request

Description

Description This bash script provides a comprehensive solution for uninstalling Hyprland and its related components from a Fedora Linux system. It addresses the need for a safe and user-friendly method to remove Hyprland when users decide to switch to a different window manager or desktop environment.

Summary of Changes:

Adds thorough warning messages and user confirmations to prevent accidental uninstallation Provides step-by-step removal of Hyprland packages, configurations, and related components Includes options to selectively keep or remove associated software (e.g., Kitty terminal, Zsh, Oh My Zsh, pokemon colorschemes)

Performs cleanup of leftover dependencies and directories

Motivation and Context: The motivation behind this script is to simplify the process of uninstalling Hyprland, which can be complex due to its various dependencies and configurations. It aims to prevent common issues such as leftover configurations or incomplete removals, which can cause problems in the future.

Dependencies: This script requires the following: dnf package manager

Type of change

Please put an x in the boxes that apply:

Checklist

Screenshots

image image PS: I removed my packages just few days ago so it's skipping all of them

Additional context

nothing much but hey upadate the docs with guide to set execution permissions using chmod beforehand I have handled that in script but it a good to have nonetheless

JaKooLit commented 2 months ago

Screenshot_20240701_172648_Samsung Internet.jpg

it looks ok, however, what is all that character above?

plus, suggest to include to remove also the configuration files

the nwg-look, since it was set to install from source, I dont think dnf can remove that....

Vdcds commented 2 months ago

oh hey that character was just an attempt of me trying ASCII art image nvm removed it. and also added some config files removal modification and workaround by which I removed my nwg- look too. PS : it now asks for removal of every config file which is a bit tedious and granular

Vdcds commented 2 months ago

hey thanks man!