mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Allow menu extensions to be set by the user
Closes #4012 Co-authored-by: @DarrenVictoriano
This commit is contained in:
@@ -524,6 +524,10 @@ go_to_menu() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Allow user extensions and overrides
|
||||||
|
USER_EXTENSIONS="$HOME/.config/omarchy/extensions/menu.sh"
|
||||||
|
[[ -f $USER_EXTENSIONS ]] && source "$USER_EXTENSIONS"
|
||||||
|
|
||||||
if [[ -n "$1" ]]; then
|
if [[ -n "$1" ]]; then
|
||||||
BACK_TO_EXIT=true
|
BACK_TO_EXIT=true
|
||||||
go_to_menu "$1"
|
go_to_menu "$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user