mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Add Remove > Gaming options
This commit is contained in:
+14
-1
@@ -465,11 +465,12 @@ show_install_elixir_menu() {
|
||||
}
|
||||
|
||||
show_remove_menu() {
|
||||
case $(menu "Remove" " Package\n Web App\n TUI\n Development\n Preinstalls\n Dictation\n Theme\n Windows\n Fingerprint\n Fido2") in
|
||||
case $(menu "Remove" " Package\n Web App\n TUI\n Development\n Gaming\n Preinstalls\n Dictation\n Theme\n Windows\n Fingerprint\n Fido2") in
|
||||
*Package*) terminal omarchy-pkg-remove ;;
|
||||
*Web*) present_terminal omarchy-webapp-remove ;;
|
||||
*TUI*) present_terminal omarchy-tui-remove ;;
|
||||
*Development*) show_remove_development_menu ;;
|
||||
*Gaming*) show_remove_gaming_menu ;;
|
||||
*Preinstalls*) present_terminal omarchy-remove-preinstalls ;;
|
||||
*Dictation*) present_terminal omarchy-voxtype-remove ;;
|
||||
*Theme*) present_terminal omarchy-theme-remove ;;
|
||||
@@ -480,6 +481,18 @@ show_remove_menu() {
|
||||
esac
|
||||
}
|
||||
|
||||
show_remove_gaming_menu() {
|
||||
case $(menu "Remove" " Steam\n RetroArch\n Minecraft\n Battle.net\n NVIDIA GeForce NOW\n Xbox Controller") in
|
||||
*Steam*) present_terminal omarchy-remove-gaming-steam ;;
|
||||
*RetroArch*) present_terminal omarchy-remove-gaming-retroarch ;;
|
||||
*Minecraft*) present_terminal omarchy-remove-gaming-minecraft ;;
|
||||
*Battle.net*) present_terminal omarchy-remove-gaming-battlenet ;;
|
||||
*GeForce*) present_terminal omarchy-remove-gaming-geforce-now ;;
|
||||
*Xbox*) present_terminal omarchy-remove-gaming-xbox-controllers ;;
|
||||
*) show_remove_menu ;;
|
||||
esac
|
||||
}
|
||||
|
||||
show_remove_development_menu() {
|
||||
case $(menu "Remove" " Ruby on Rails\n JavaScript\n Go\n PHP\n Python\n Elixir\n Zig\n Rust\n Java\n .NET\n OCaml\n Clojure\n Scala") in
|
||||
*Rails*) present_terminal "omarchy-remove-dev-env ruby" ;;
|
||||
|
||||
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Remove Battle.net along with Lutris, Wine, umu-launcher, and all their configs and caches.
|
||||
# omarchy:requires-sudo=true
|
||||
|
||||
set -e
|
||||
|
||||
omarchy-pkg-drop lutris wine-staging wine-mono wine-gecko winetricks python-protobuf umu-launcher
|
||||
|
||||
rm -rf \
|
||||
"$HOME/Games/battlenet" \
|
||||
"$HOME/Games/battle-net" \
|
||||
"$HOME/.config/lutris" \
|
||||
"$HOME/.local/share/lutris" \
|
||||
"$HOME/.cache/lutris" \
|
||||
"$HOME/.local/share/umu" \
|
||||
"$HOME/.cache/umu" \
|
||||
"$HOME/.wine" \
|
||||
"$HOME/.cache/wine" \
|
||||
"$HOME/.cache/winetricks"
|
||||
|
||||
echo ""
|
||||
echo "Battle.net, Lutris, Wine, umu-launcher, and their configs have been removed."
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Remove the GeForce NOW Flatpak app and its data.
|
||||
|
||||
set -e
|
||||
|
||||
if command -v flatpak >/dev/null && flatpak info com.nvidia.geforcenow &>/dev/null; then
|
||||
flatpak uninstall -y --delete-data com.nvidia.geforcenow
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "GeForce NOW removed."
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Remove the Minecraft launcher along with its worlds, mods, and caches.
|
||||
# omarchy:requires-sudo=true
|
||||
|
||||
set -e
|
||||
|
||||
omarchy-pkg-drop minecraft-launcher
|
||||
|
||||
rm -rf \
|
||||
"$HOME/.minecraft" \
|
||||
"$HOME/.config/Minecraft Launcher" \
|
||||
"$HOME/.local/share/minecraft-launcher" \
|
||||
"$HOME/.cache/minecraft"
|
||||
|
||||
echo ""
|
||||
echo "Minecraft and its data have been removed."
|
||||
Executable
+33
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Remove RetroArch, all libretro cores, and its config/saves. Leaves ~/Games/roms and ~/Games/bios alone.
|
||||
# omarchy:requires-sudo=true
|
||||
|
||||
set -e
|
||||
|
||||
omarchy-pkg-drop \
|
||||
retroarch \
|
||||
retroarch-assets-glui retroarch-assets-ozone retroarch-assets-xmb \
|
||||
libretro-beetle-pce libretro-beetle-pce-fast libretro-beetle-psx libretro-beetle-psx-hw libretro-beetle-supergrafx \
|
||||
libretro-blastem \
|
||||
libretro-bsnes libretro-bsnes-hd libretro-bsnes2014 \
|
||||
libretro-core-info \
|
||||
libretro-desmume libretro-dolphin libretro-flycast \
|
||||
libretro-gambatte libretro-genesis-plus-gx \
|
||||
libretro-kronos \
|
||||
libretro-mame libretro-mame2016 libretro-melonds libretro-mesen libretro-mesen-s libretro-mgba libretro-mupen64plus-next \
|
||||
libretro-nestopia \
|
||||
libretro-overlays \
|
||||
libretro-parallel-n64 libretro-picodrive libretro-play libretro-ppsspp \
|
||||
libretro-sameboy libretro-scummvm libretro-shaders-slang libretro-snes9x \
|
||||
libretro-yabause \
|
||||
libretro-fbneo-git
|
||||
|
||||
rm -rf \
|
||||
"$HOME/.config/retroarch" \
|
||||
"$HOME/.local/share/retroarch" \
|
||||
"$HOME/.cache/retroarch"
|
||||
|
||||
echo ""
|
||||
echo "RetroArch and its cores have been removed."
|
||||
echo "ROMs and BIOS files at ~/Games/roms and ~/Games/bios were left in place."
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Remove Steam and all of its game libraries, configs, and caches.
|
||||
# omarchy:requires-sudo=true
|
||||
|
||||
set -e
|
||||
|
||||
omarchy-pkg-drop steam
|
||||
|
||||
rm -rf \
|
||||
"$HOME/.steam" \
|
||||
"$HOME/.local/share/Steam" \
|
||||
"$HOME/.config/steam" \
|
||||
"$HOME/.cache/steam"
|
||||
|
||||
echo ""
|
||||
echo "Steam and its data have been removed."
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Remove the xpadneo Xbox controller driver and undo its module/blacklist config.
|
||||
# omarchy:requires-sudo=true
|
||||
|
||||
set -e
|
||||
|
||||
omarchy-pkg-drop xpadneo-dkms
|
||||
|
||||
sudo rm -f /etc/modprobe.d/blacklist-xpad.conf /etc/modules-load.d/xpadneo.conf
|
||||
|
||||
echo ""
|
||||
echo "Xbox controller support removed. Reboot to fully unload xpadneo and restore xpad."
|
||||
Reference in New Issue
Block a user