Update ros-progs-gui.sh
This commit is contained in:
parent
6b136e82af
commit
42f4766651
1 changed files with 4 additions and 4 deletions
|
@ -75,7 +75,7 @@ user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
|
|||
FALSE "Windows 11 Telepítő - Csak Profiknak!" \
|
||||
FALSE "Xfburn - CD/DVD író program" \
|
||||
FALSE "XPadNeo - XBox Controller Support" \
|
||||
FALSE "Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas Monitorozas" )
|
||||
FALSE "Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas Monitorozas" ) 2>/dev/null
|
||||
if [[ $? -eq 1 ]]; then
|
||||
echo ${bold}${yellow}Cancelled by User. Exiting!${normal}
|
||||
exit 1
|
||||
|
@ -666,7 +666,7 @@ if [[ $user_choice = *"Csak a FO Monitoron jelenjen meg a Login Screen - Tobb mo
|
|||
echo ---------------------------------------------
|
||||
echo Setting ${bold}${yellow}Only main monitor on login${normal}
|
||||
|
||||
zenity --warning --text='!! SWITCH TO PRIMARY MONITOR ONLY !!' --width='300' --height='100'
|
||||
zenity --warning --text='!! SWITCH TO PRIMARY MONITOR ONLY !!' --width='300' --height='100' 2>/dev/null
|
||||
sudo mkdir -p /var/lib/gdm/.config/
|
||||
sudo cp ~/.config/monitors.xml /var/lib/gdm/.config/monitors.xml
|
||||
sudo chown gdm:gdm /var/lib/gdm/.config/monitors.xml
|
||||
|
@ -884,14 +884,14 @@ fi
|
|||
|
||||
|
||||
if [[ $user_choice = *"Windows 11 Telepítő - Csak Profiknak"* ]]; then
|
||||
zenity --warning --text='!! MAJOM VAGY !!' --width='300' --height='100'
|
||||
zenity --warning --text='!! MAJOM VAGY !!' --width='300' --height='100' 2>/dev/null
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
|
||||
sudo rm /etc/xdg/autostart/3progs.sh.desktop 2>/dev/null
|
||||
|
||||
zenity --question --title='Restart required!' --text='Restart in 5 seconds?' --width='300' --height='100'
|
||||
zenity --question --title='Restart required!' --text='Restart in 5 seconds?' --width='300' --height='100' 2>/dev/null
|
||||
if [ $? = 0 ]; then
|
||||
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue