mirror of
https://github.com/aljazceru/omakub.git
synced 2025-12-17 20:44:21 +01:00
Add uninstallers
This commit is contained in:
@@ -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
|
||||
|
||||
2
bin/omakub-uninstall
Normal file
2
bin/omakub-uninstall
Normal file
@@ -0,0 +1,2 @@
|
||||
UNINSTALLER=$(gum file $OMAKUB_PATH/uninstall)
|
||||
[ -n "$UNINSTALLER" ] && gum confirm "Run uninstaller?" && source $UNINSTALLER
|
||||
1
uninstall/app-1password.sh
Normal file
1
uninstall/app-1password.sh
Normal file
@@ -0,0 +1 @@
|
||||
sudo apt remove -y 1password
|
||||
1
uninstall/app-flameshot.sh
Normal file
1
uninstall/app-flameshot.sh
Normal file
@@ -0,0 +1 @@
|
||||
sudo apt remove -y flameshot
|
||||
1
uninstall/app-github-cli.sh
Normal file
1
uninstall/app-github-cli.sh
Normal file
@@ -0,0 +1 @@
|
||||
sudo apt remove -y gh
|
||||
1
uninstall/app-localsend.sh
Normal file
1
uninstall/app-localsend.sh
Normal file
@@ -0,0 +1 @@
|
||||
sudo apt remove -y localsend
|
||||
1
uninstall/app-pinta.sh
Normal file
1
uninstall/app-pinta.sh
Normal file
@@ -0,0 +1 @@
|
||||
sudo snap remove pinta
|
||||
1
uninstall/app-spotify.sh
Normal file
1
uninstall/app-spotify.sh
Normal file
@@ -0,0 +1 @@
|
||||
sudo apt remove -y spotify-client
|
||||
2
uninstall/app-typora.sh
Normal file
2
uninstall/app-typora.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
sudo apt remove typora
|
||||
rm ~/.config/Typora
|
||||
1
uninstall/app-vlc.sh
Normal file
1
uninstall/app-vlc.sh
Normal file
@@ -0,0 +1 @@
|
||||
sudo apt remove -y vlc
|
||||
1
uninstall/app-xournalpp.sh
Normal file
1
uninstall/app-xournalpp.sh
Normal file
@@ -0,0 +1 @@
|
||||
sudo apt remove -y xournalpp
|
||||
1
uninstall/app-zoom.sh
Normal file
1
uninstall/app-zoom.sh
Normal file
@@ -0,0 +1 @@
|
||||
sudo apt remove -y zoom
|
||||
3
uninstall/apps-web.sh
Normal file
3
uninstall/apps-web.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
rm ~/.local/share/applications/WhatsApp.desktop
|
||||
rm ~/.local/share/applications/Basecamp.desktop
|
||||
rm ~/.local/share/applications/HEY.desktop
|
||||
2
uninstall/docker.sh
Normal file
2
uninstall/docker.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
sudo apt remove -y docker.io docker-buildx
|
||||
sudo groupdel docker
|
||||
Reference in New Issue
Block a user