mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-12-25 20:35:34 +01:00
Prevent slaze, whitesur themes with ultrawide res
This commit is contained in:
parent
f4680564a9
commit
9b2a9f41b9
@ -68,11 +68,11 @@ install() {
|
|||||||
local icon=${2}
|
local icon=${2}
|
||||||
local screen=${3}
|
local screen=${3}
|
||||||
|
|
||||||
if [[ ${screen} == 'ultrawide' && ${theme} == 'Slaze' ]]; then
|
if [[ ${screen} == 'ultrawide' && ( ${theme} == 'slaze' || ${theme} == 'whitesur' ) ]]; then
|
||||||
prompt -e "ultrawide 1080p does not support Slaze theme"
|
prompt -e "ultrawide 1080p does not support Slaze and WhiteSur theme"
|
||||||
exit 1
|
exit 1
|
||||||
elif [[ ${screen} == 'ultrawide2k' && ${theme} == 'Slaze' ]]; then
|
elif [[ ${screen} == 'ultrawide2k' && ( ${theme} == 'slaze' || ${theme} == 'whitesur' ) ]]; then
|
||||||
prompt -e "ultrawide 1440p does not support Slaze theme"
|
prompt -e "ultrawide 1440p does not support Slaze and WhiteSur theme"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user