chore: Modify to use elif

This commit is contained in:
Kyle Gospodnetich 2024-07-06 00:33:07 -07:00
parent df41081f93
commit eb7549b50e

View File

@ -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'