mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-07 12:57:23 +00:00
feat(legion): Automatically use Legion logo on LGO in Logo Menu
This commit is contained in:
parent
28163f6a7c
commit
97f4ef8dc3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user