diff --git a/system_files/desktop/shared/usr/libexec/bazzite-user-setup b/system_files/desktop/shared/usr/libexec/bazzite-user-setup index 1cb1cad0..2697779c 100755 --- a/system_files/desktop/shared/usr/libexec/bazzite-user-setup +++ b/system_files/desktop/shared/usr/libexec/bazzite-user-setup @@ -10,6 +10,7 @@ IMAGE_NAME=$(jq -r '."image-name"' < $IMAGE_INFO) BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO) FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO) +SYS_ID="$(/usr/libexec/hwsupport/sysid)" VEN_ID="$(cat /sys/devices/virtual/dmi/id/chassis_vendor)" # INIT @@ -110,6 +111,12 @@ else fi fi + if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then + echo 'Setting Legion logo menu' + dconf write /org/gnome/shell/extensions/Logo-menu/symbolic-icon false + dconf write /org/gnome/shell/extensions/Logo-menu/menu-button-icon-image 31 + fi + echo 'Setting up templates' TEMPLATES_DIR=$(/usr/bin/xdg-user-dir TEMPLATES || true) if [[ -z "$TEMPLATES_DIR" || "$TEMPLATES_DIR" == "$HOME" ]]; then