Use gum here too

This commit is contained in:
David Heinemeier Hansson 2024-06-03 15:43:23 -07:00
parent 1f4798160d
commit 5f30a55ed7

View File

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