Skip to content

Commit

Permalink
feat: Remove decky hhd plugin, replaced by built in hhd overlay (#1238)
Browse files Browse the repository at this point in the history
* feat: remove deprecated decky-hhd-plugin
it has been replaced by hhd overlay ages ago.

* fix: move _hhd-dev ujust to deck image
  • Loading branch information
HikariKnight authored Jun 17, 2024
1 parent aeef5a3 commit 16838c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 16838c8

Please sign in to comment.