|
| 1 | +# Uninstall the ML4W Dotfiles |
| 2 | + |
| 3 | +The uninstallation requires some manual steps. It requires the removal of the dotfiles, the restore of configuration files from the backup and the unstallation of dependencies. |
| 4 | + |
| 5 | +> [!WARNING] |
| 6 | +> Uninstalling is a very individual process. There is no guarantee that the following steps will work on all systems. |
| 7 | +
|
| 8 | +> [!NOTE] |
| 9 | +> The following instructions are work in progress. The Dotfiles Installer will include an uninstall feature in one of the upcoming updates. The way how to unsinstall the dotfiles is still in development. Please share your experiences on GitHub. |
| 10 | +
|
| 11 | +## Remove the Hyprland configuration |
| 12 | + |
| 13 | +Logout from the ML4W dotfiles and open another desktop environment (if available on your system) or switch to a tty. |
| 14 | + |
| 15 | +```sh |
| 16 | +cd ~/.config # CD into the config folder |
| 17 | +rm -rf hypr # Remove the current symlink to the ML4W hypr config |
| 18 | +``` |
| 19 | +If you're on tty, you can login again to Hyprland now and you should see the default configuration. Please not that you need to open kitty now with SUPER+Q. |
| 20 | + |
| 21 | +## Restore your first backup |
| 22 | + |
| 23 | +Please copy the files from your first backup that you have made with the Dotfiles Installer back to your home and .config folder. Please follow the folder structure from your backup. |
| 24 | + |
| 25 | +You can find the backup folder here: |
| 26 | + |
| 27 | +```sh |
| 28 | +cd ~/.var/app/com.ml4w.dotfilesinstaller/data/backup |
| 29 | +cd com.ml4w.dotfiles # for rolling release |
| 30 | +cd com.ml4w.dotfiles.stable # for stable release |
| 31 | +``` |
| 32 | +## Delete symlinks (optional) |
| 33 | + |
| 34 | +Remove all symlinks from your Home folder and .config folder targeting to the .mydotfiles folder. |
| 35 | + |
| 36 | +```sh |
| 37 | +cd ~/.config |
| 38 | +rm -rf waybar # example |
| 39 | +``` |
| 40 | + |
| 41 | +## Remove the dotfiles folder (optional) |
| 42 | + |
| 43 | +Open the following folder and remove the dotfiles: |
| 44 | + |
| 45 | +```sh |
| 46 | +cd ~/.mydotfiles |
| 47 | +rm -rf com.ml4w.dotfiles # for rolling release |
| 48 | +rm -rf com.ml4w.dotfiles.stable # for stable release |
| 49 | +``` |
| 50 | +## Uninstall dependencies (optional) |
| 51 | + |
| 52 | +You can uninstall <a href="/dotfiles/getting-started/dependencies">dependencies</a> that you don't need anymore. |
| 53 | + |
| 54 | +> [!WARNING] |
| 55 | +> Please make sure that you don't uninstall packages that are required by your system. |
0 commit comments