mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 09:32:55 +00:00
feat(gnome): Add just command for installing Adwaita-for-Steam, update theme with ublue-update automatically when present
This commit is contained in:
parent
8b660728bc
commit
cc662ab2c9
@ -274,6 +274,19 @@ enable-vgui2-theme:
|
||||
echo "This is only supported under GNOME."
|
||||
fi
|
||||
|
||||
# Install Adwaita-for-Steam theme for CSS Loader (https://github.com/tkashkin/Adwaita-for-Steam)
|
||||
install-adwaita-for-steam:
|
||||
#!/usr/bin/env bash
|
||||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
|
||||
if [ -d "$HOME/homebrew/themes" ]; then
|
||||
git clone https://github.com/tkashkin/Adwaita-for-Steam.git --single-branch "$HOME/homebrew/themes/Adwaita-for-Steam"
|
||||
else
|
||||
echo 'Please install Decky Loader & CSS Loader first, see just get-decky'
|
||||
fi
|
||||
else
|
||||
echo "This is only supported under GNOME."
|
||||
fi
|
||||
|
||||
# Enable legacy swapfile (Not recommended)
|
||||
deckswap-on:
|
||||
#!/usr/bin/env bash
|
||||
|
@ -246,6 +246,19 @@ enable-vgui2-theme:
|
||||
echo "This is only supported under GNOME."
|
||||
fi
|
||||
|
||||
# Install Adwaita-for-Steam theme for CSS Loader (https://github.com/tkashkin/Adwaita-for-Steam)
|
||||
install-adwaita-for-steam:
|
||||
#!/usr/bin/env bash
|
||||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
|
||||
if [ -d "$HOME/homebrew/themes" ]; then
|
||||
git clone https://github.com/tkashkin/Adwaita-for-Steam.git --single-branch "$HOME/homebrew/themes/Adwaita-for-Steam"
|
||||
else
|
||||
echo 'Please install Decky Loader & CSS Loader first'
|
||||
fi
|
||||
else
|
||||
echo "This is only supported under GNOME."
|
||||
fi
|
||||
|
||||
# Set system to boot without showing the grub screen with options
|
||||
hide-grub:
|
||||
#!/usr/bin/env bash
|
||||
|
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
shopt -s nullglob
|
||||
|
||||
if [ -d "$HOME/homebrew/themes/Adwaita-for-Steam" ]; then
|
||||
cd "$HOME/homebrew/themes/Adwaita-for-Steam"
|
||||
git pull
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user