mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 18:32:48 +00:00
chore: Modify to use elif
This commit is contained in:
parent
df41081f93
commit
eb7549b50e
@ -111,22 +111,18 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
|
||||
echo 'Setting Legion 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 5
|
||||
fi
|
||||
|
||||
if [[ ":ROG Ally RC71L:" =~ ":$SYS_ID:" ]]; then
|
||||
echo 'Setting Ally 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 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
|
||||
elif [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
|
||||
echo 'Setting Legion 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 5
|
||||
elif [[ ":ROG Ally RC71L:" =~ ":$SYS_ID:" ]]; then
|
||||
echo 'Setting Ally 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 6
|
||||
fi
|
||||
|
||||
echo 'Setting up templates'
|
||||
|
Loading…
x
Reference in New Issue
Block a user