diff --git a/bin/omakub b/bin/omakub index f428e48..581ca8c 100755 --- a/bin/omakub +++ b/bin/omakub @@ -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 diff --git a/bin/omakub-uninstall b/bin/omakub-uninstall new file mode 100644 index 0000000..f30c503 --- /dev/null +++ b/bin/omakub-uninstall @@ -0,0 +1,2 @@ +UNINSTALLER=$(gum file $OMAKUB_PATH/uninstall) +[ -n "$UNINSTALLER" ] && gum confirm "Run uninstaller?" && source $UNINSTALLER diff --git a/uninstall/app-1password.sh b/uninstall/app-1password.sh new file mode 100644 index 0000000..d033c51 --- /dev/null +++ b/uninstall/app-1password.sh @@ -0,0 +1 @@ +sudo apt remove -y 1password diff --git a/uninstall/app-flameshot.sh b/uninstall/app-flameshot.sh new file mode 100644 index 0000000..47db99c --- /dev/null +++ b/uninstall/app-flameshot.sh @@ -0,0 +1 @@ +sudo apt remove -y flameshot diff --git a/uninstall/app-github-cli.sh b/uninstall/app-github-cli.sh new file mode 100644 index 0000000..18ee29a --- /dev/null +++ b/uninstall/app-github-cli.sh @@ -0,0 +1 @@ +sudo apt remove -y gh diff --git a/uninstall/app-localsend.sh b/uninstall/app-localsend.sh new file mode 100644 index 0000000..4a5f3ca --- /dev/null +++ b/uninstall/app-localsend.sh @@ -0,0 +1 @@ +sudo apt remove -y localsend diff --git a/uninstall/app-pinta.sh b/uninstall/app-pinta.sh new file mode 100644 index 0000000..6605383 --- /dev/null +++ b/uninstall/app-pinta.sh @@ -0,0 +1 @@ +sudo snap remove pinta diff --git a/uninstall/app-spotify.sh b/uninstall/app-spotify.sh new file mode 100644 index 0000000..923340f --- /dev/null +++ b/uninstall/app-spotify.sh @@ -0,0 +1 @@ +sudo apt remove -y spotify-client diff --git a/uninstall/app-typora.sh b/uninstall/app-typora.sh new file mode 100644 index 0000000..05bc045 --- /dev/null +++ b/uninstall/app-typora.sh @@ -0,0 +1,2 @@ +sudo apt remove typora +rm ~/.config/Typora diff --git a/uninstall/app-vlc.sh b/uninstall/app-vlc.sh new file mode 100644 index 0000000..16c8b57 --- /dev/null +++ b/uninstall/app-vlc.sh @@ -0,0 +1 @@ +sudo apt remove -y vlc diff --git a/uninstall/app-xournalpp.sh b/uninstall/app-xournalpp.sh new file mode 100644 index 0000000..aee4fdf --- /dev/null +++ b/uninstall/app-xournalpp.sh @@ -0,0 +1 @@ +sudo apt remove -y xournalpp diff --git a/uninstall/app-zoom.sh b/uninstall/app-zoom.sh new file mode 100644 index 0000000..db3c640 --- /dev/null +++ b/uninstall/app-zoom.sh @@ -0,0 +1 @@ +sudo apt remove -y zoom diff --git a/uninstall/apps-web.sh b/uninstall/apps-web.sh new file mode 100644 index 0000000..2d9000e --- /dev/null +++ b/uninstall/apps-web.sh @@ -0,0 +1,3 @@ +rm ~/.local/share/applications/WhatsApp.desktop +rm ~/.local/share/applications/Basecamp.desktop +rm ~/.local/share/applications/HEY.desktop diff --git a/uninstall/docker.sh b/uninstall/docker.sh new file mode 100644 index 0000000..0ac4a52 --- /dev/null +++ b/uninstall/docker.sh @@ -0,0 +1,2 @@ +sudo apt remove -y docker.io docker-buildx +sudo groupdel docker