mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-13 21:40:40 +00:00
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:
parent
aeef5a3d47
commit
16838c8633
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user