mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-05-20 05:10:46 -04:00
24582eeb74
This reverts commit 28e8adc03d
.
19 lines
516 B
Bash
19 lines
516 B
Bash
#!/bin/bash
|
|
while true; do
|
|
question=$(whiptail --title "Configure LCD Shader simulates the old LCD Matrix screens of handheld systems" \
|
|
--radiolist "Enabling a LCD Shader simulates the old LCD Matrix screens of handheld systems" 10 80 4 \
|
|
"ON" "Enable" ON \
|
|
"OFF" "Disable" OFF \
|
|
3>&1 1<&2 2>&3)
|
|
case $question in
|
|
[ON]* ) break;;
|
|
[OFF]* ) break;;
|
|
* ) echo "Enable LCD Shaders?";;
|
|
esac
|
|
done
|
|
|
|
if [ $question == 'ON' ]; then
|
|
setSetting RAHandHeldShader true
|
|
else
|
|
setSetting RAHandHeldShader false
|
|
fi |