mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 19:10:33 +00:00
feat(deck): Use Deck logo in logo menu by default on Valve hardware
This commit is contained in:
parent
c4079d7711
commit
df41081f93
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user