Skip to content

Commit

Permalink
Add uninstallers
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Jun 10, 2024
1 parent 6a93766 commit b42654f
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/omakub
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source $OMAKUB_PATH/ascii.sh

if [ $# -eq 0 ]; then
SUB=$(gum choose "Help" "Theme" "Font" "Install" "Update" --height 8 --header "" | tr '[:upper:]' '[:lower:]')
SUB=$(gum choose "Help" "Theme" "Font" "Install" "Uninstall" "Update" --height 9 --header "" | tr '[:upper:]' '[:lower:]')
else
SUB=$1
fi
Expand Down
2 changes: 2 additions & 0 deletions bin/omakub-uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UNINSTALLER=$(gum file $OMAKUB_PATH/uninstall)
[ -n "$UNINSTALLER" ] && gum confirm "Run uninstaller?" && source $UNINSTALLER
1 change: 1 addition & 0 deletions uninstall/app-1password.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo apt remove -y 1password
1 change: 1 addition & 0 deletions uninstall/app-flameshot.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo apt remove -y flameshot
1 change: 1 addition & 0 deletions uninstall/app-github-cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo apt remove -y gh
1 change: 1 addition & 0 deletions uninstall/app-localsend.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo apt remove -y localsend
1 change: 1 addition & 0 deletions uninstall/app-pinta.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo snap remove pinta
1 change: 1 addition & 0 deletions uninstall/app-spotify.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo apt remove -y spotify-client
2 changes: 2 additions & 0 deletions uninstall/app-typora.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sudo apt remove typora
rm ~/.config/Typora
1 change: 1 addition & 0 deletions uninstall/app-vlc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo apt remove -y vlc
1 change: 1 addition & 0 deletions uninstall/app-xournalpp.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo apt remove -y xournalpp
1 change: 1 addition & 0 deletions uninstall/app-zoom.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo apt remove -y zoom
3 changes: 3 additions & 0 deletions uninstall/apps-web.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rm ~/.local/share/applications/WhatsApp.desktop
rm ~/.local/share/applications/Basecamp.desktop
rm ~/.local/share/applications/HEY.desktop
2 changes: 2 additions & 0 deletions uninstall/docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sudo apt remove -y docker.io docker-buildx
sudo groupdel docker

0 comments on commit b42654f

Please sign in to comment.