feat(deck): Use Deck logo in logo menu by default on Valve hardware

This commit is contained in:
Kyle Gospodnetich 2024-07-06 00:30:25 -07:00
parent c4079d7711
commit df41081f93

View File

@ -18,7 +18,7 @@ BAZZITE_CONFIG_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/bazzite"
mkdir -p "$BAZZITE_CONFIG_DIR"
# SCRIPT VERSION
USER_SETUP_VER=38
USER_SETUP_VER=39
USER_SETUP_VER_FILE="$BAZZITE_CONFIG_DIR/version"
USER_SETUP_FEDORA_VER_FILE="$BAZZITE_CONFIG_DIR/fedora_version"
USER_SETUP_IMAGE_VER_FILE=$BAZZITE_CONFIG_DIR/image_name""
@ -123,6 +123,12 @@ else
dconf write /org/gnome/shell/extensions/Logo-menu/menu-button-icon-image 6
fi
if /usr/libexec/hwsupport/valve-hardware; then
echo 'Setting Deck logo menu'
dconf write /org/gnome/shell/extensions/Logo-menu/symbolic-icon true
dconf write /org/gnome/shell/extensions/Logo-menu/menu-button-icon-image 2
fi
echo 'Setting up templates'
TEMPLATES_DIR=$(/usr/bin/xdg-user-dir TEMPLATES || true)
if [[ -z "$TEMPLATES_DIR" || "$TEMPLATES_DIR" == "$HOME" ]]; then