The installer asks for the language before the keyboard, and Setup > Language (omarchy language en|zh) switches it later. Under zh_CN the menu reads its labels from omarchy-menu.zh-cn.jsonc, the shell from I18nZh.js through I18n.tr, and notifications are worded by their sender through omarchy-text, which reads the same table. User text is never translated.
14 lines
400 B
Bash
Executable File
14 lines
400 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Log out after closing application windows
|
|
# omarchy:examples=omarchy logout | omarchy system logout
|
|
# omarchy:aliases=omarchy logout
|
|
|
|
nohup bash -c "sleep 2 && uwsm stop" >/dev/null 2>&1 &
|
|
|
|
omarchy-osd -i logout -m "$(omarchy-text "Logging out")" -d 5000
|
|
|
|
# Now close all windows
|
|
omarchy-hyprland-window-close-all
|
|
sleep 1 # Allow apps like Chrome to shutdown correctly
|