mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
21 lines
655 B
Bash
21 lines
655 B
Bash
# Overwrite parts of the omarchy-menu with user-specific submenus.
|
|
# See $OMARCHY_PATH/bin/omarchy-menu for functions that can be overwritten.
|
|
#
|
|
# WARNING: Overwritten functions will obviously not be updated when Omarchy changes.
|
|
#
|
|
# Example of minimal system menu:
|
|
#
|
|
# show_system_menu() {
|
|
# case $(menu "System" " Lock\n Shutdown") in
|
|
# *Lock*) omarchy-lock-screen ;;
|
|
# *Shutdown*) omarchy-cmd-shutdown ;;
|
|
# *) back_to show_main_menu ;;
|
|
# esac
|
|
# }
|
|
#
|
|
# Example of overriding just the about menu action: (Using zsh instead of bash (default))
|
|
#
|
|
# show_about() {
|
|
# exec omarchy-launch-or-focus-tui "zsh -c 'fastfetch; read -k 1'"
|
|
# }
|