Show keybindings notice right away and vary update based on internet or not

This commit is contained in:
David Heinemeier Hansson
2025-10-28 18:19:17 +01:00
parent d7cd1950ce
commit d3a54dc32e
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
if ! ping -c3 -W1 1.1.1.1 >/dev/null 2>&1; then
notify-send "󰖩 Click to Setup Wi-Fi" "Tab to navigate, Space to select, ? for help." -u critical -t 30000
notify-send " Update System" "When you have internet, click to update the system." -u critical
else
notify-send " Update System" "Click to update the system." -u critical
fi