diff --git a/install.sh b/install.sh index 1bfc091..843df55 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,10 @@ #!/usr/bin/env bash curl "https://raw.githubusercontent.com/aclist/dztui/main/dzgui.sh" > dzgui.sh chmod +x dzgui.sh +xdg_file="$HOME/.local/share/applications/dzgui.desktop" +share="$HOME/.local/share/dzgui" +conf="$HOME/.config/dztui" +[[ -f $xdg_file ]] && rm $xdg_file +[[ -d $share ]] && rm -rf $share +[[ -d $conf ]] && rm -rf $conf ./dzgui.sh