feat: Remove decky hhd plugin, replaced by built in hhd overlay (#1238)

* feat: remove deprecated decky-hhd-plugin
it has been replaced by hhd overlay ages ago.

* fix: move _hhd-dev ujust to deck image
This commit is contained in:
HikariKnight 2024-06-17 04:56:53 +02:00 committed by GitHub
parent aeef5a3d47
commit 16838c8633
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 20 deletions

View File

@ -128,6 +128,13 @@ restore-input-remapper:
cp /usr/share/applications/input-remapper-gtk.desktop ~/.local/share/applications/input-remapper-gtk.desktop && \
sed -i '/NoDisplay=true/d' ~/.local/share/applications/input-remapper-gtk.desktop
# Install hhd main branch locally until reboot, helpful for hhd testing and debugging. (rename to install-hhd-dev if we unhide)
_hhd-dev:
#!/usr/bin/bash
source /usr/lib/ujust/ujust.sh
echo "Installing ${b}Handheld Daemon${n} locally until next reboot."
curl -L https://raw.githubusercontent.com/hhd-dev/hhd/master/local_hhd.sh | bash
_toggle-autologin:
#!/usr/bin/bash
DESKTOP_AUTOLOGIN="/etc/bazzite/desktop_autologin"

View File

@ -155,7 +155,6 @@ setup-decky ACTION="":
echo " <option>: Specify the quick option to skip the prompt"
echo " Use 'install' to select Install Decky"
echo " Use 'simpledeckytdp' to select Get SimpleDeckyTDP"
echo " Use 'hhd-decky' to select Get HHD-decky"
exit 0
elif [ "$OPTION" == "" ]; then
echo "${bold}Setup Decky Loader${normal}"
@ -165,8 +164,7 @@ setup-decky ACTION="":
OPTION=$(
Choose \
"Install Decky" \
"Get $(Urllink "https://github.com/aarron-lee/SimpleDeckyTDP" SimpleDeckyTDP)${n}" \
"Get $(Urllink "https://github.com/hhd-dev/hhd-decky" HHD-Decky)${n}"
"Get $(Urllink "https://github.com/aarron-lee/SimpleDeckyTDP" SimpleDeckyTDP)${n}"
)
fi
if [[ "${OPTION,,}" =~ install ]]; then
@ -184,16 +182,6 @@ setup-decky ACTION="":
else
echo 'Please install Decky Loader by running "ujust setup-decky install" first.'
fi
elif [[ "${OPTION,,}" =~ hhd-decky ]]; then
if [[ -d $HOME/homebrew/plugins ]]; then
sudo rm -rf $HOME/homebrew/plugins/hhd-decky
curl -L $(curl -s https://api.github.com/repos/hhd-dev/hhd-decky/releases/latest | grep "browser_download_url" | cut -d '"' -f 4) -o /tmp/hhd-decky.tar.gz
sudo tar -xzf /tmp/hhd-decky.tar.gz -C $HOME/homebrew/plugins
rm /tmp/hhd-decky.tar.gz
echo 'Installed.'
else
echo 'Please install Decky Loader by running "ujust setup-decky install" first.'
fi
fi
# Ptyxis terminal transparency

View File

@ -157,13 +157,6 @@ install-opentabletdriver:
systemctl enable --user --now arch-opentabletdriver.service && \
distrobox enter -n arch -- bash -c 'distrobox-export --app otd-gui'
# Install hhd main branch locally until reboot, helpful for hhd testing and debugging. (rename to install-hhd-dev if we unhide)
_hhd-dev:
#!/usr/bin/bash
source /usr/lib/ujust/ujust.sh
echo "Installing ${b}Handheld Daemon${n} locally until next reboot."
curl -L https://raw.githubusercontent.com/hhd-dev/hhd/master/local_hhd.sh | bash
# Create fedora distrobox if it doesn't exist
[private]
distrobox-check-fedora: