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.
9 lines
349 B
Bash
Executable File
9 lines
349 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Toggle single-window square aspect ratio.
|
|
|
|
case $(omarchy-hyprland-toggle single-window-aspect-ratio) in
|
|
on) omarchy-notification-send -g "$(omarchy-text "Enable single-window square aspect ratio")" ;;
|
|
off) omarchy-notification-send -g "$(omarchy-text "Disable single-window square aspect ratio")" ;;
|
|
esac
|