Draw the logout prompt on the terminal and describe what a failed China switch leaves
This commit is contained in:
1 parent
7f0c94d480
commit
df44695ea7
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -55,7 +55,7 @@ else
|
||||
prompt="Log out now to switch to English and the global mirrors?" log_out="Log out now" later="Later"
|
||||
reminder="Region set to Global. Log back in to switch to English and the global mirrors."
|
||||
fi
|
||||
if [[ -t 0 && -t 1 ]] && gum confirm --affirmative "$log_out" --negative "$later" "$prompt"; then
|
||||
if [[ -t 0 && -t 1 ]] && gum confirm --affirmative "$log_out" --negative "$later" "$prompt" 2>&1; then
|
||||
omarchy-system-logout
|
||||
else
|
||||
echo "$reminder"
|
||||
|
||||
Reference in new issue
Block a user