Use gum here too
This commit is contained in:
parent
1f4798160d
commit
5f30a55ed7
@ -15,7 +15,4 @@ for script in ~/.local/share/omakub/install/*.sh; do source $script; done
|
|||||||
gsettings set org.gnome.desktop.session idle-delay 300
|
gsettings set org.gnome.desktop.session idle-delay 300
|
||||||
|
|
||||||
# Reboot to pickup changes
|
# Reboot to pickup changes
|
||||||
read -p "Ready to logout for all settings to take effect? [Y/n]: " response
|
gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt
|
||||||
if [[ -z "$response" || "$response" =~ ^[Yy]$ ]]; then
|
|
||||||
gnome-session-quit --logout --no-prompt
|
|
||||||
fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user