items/layouts_indicators.sh
#!/bin/sh
#
#   Copyright (c) 2022-2025: Jacob.Lundqvist@gmail.com
#   License: MIT
#
#   Part of https://github.com/jaclu/tmux-menus
#
#   Choose layout
#

static_content() {
    set -- \
        0.0 M Left "Back to Layouts    $nav_prev" layouts.sh \
        0.0 M Home "Back to Main menu  $nav_home" main.sh
    menu_generate_part 1 "$@"
    $cfg_display_cmds && display_commands_toggle 2

    set -- \
        3.3 S \
        3.3 T "-#[align=centre,nodim]pane-border-indicators" \
        3.3 C "o" "off" "set-option    pane-border-indicators  off     $runshell_reload_mnu" \
        3.3 C "c" "colour" "set-option pane-border-indicators  colour  $runshell_reload_mnu" \
        3.3 C "a" "arrows" "set-option pane-border-indicators  arrows  $runshell_reload_mnu" \
        3.3 C "b" "both" "set-option   pane-border-indicators  both    $runshell_reload_mnu"
    menu_generate_part 3 "$@"
}

#===============================================================
#
#   Main
#
#===============================================================

menu_name="Layouts - Border Indicators"
menu_min_vers=3.3

#  Full path to tmux-menux plugin, remember to do one /.. for each subfolder
D_TM_BASE_PATH=$(cd -- "$(dirname -- "$0")/.." && pwd)

. "$D_TM_BASE_PATH"/scripts/dialog_handling.sh
