aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tmux.kdl
blob: ca153b5ef92dd5a2bc20a1816b3aae239cd392d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
layout {
    pane split_direction="vertical" {
        pane
    }

    pane size=1 borderless=true {
        plugin location="file:target/wasm32-wasi/debug/zjstatus.wasm" {
            format_left  "#[fg=0,bg=10][{session}]  {tabs}"
            format_right "#[fg=0,bg=10]{datetime}"
            format_space "#[bg=10]"

            hide_frame_for_single_pane "true"

            tab_normal   "{index}:{name}  "
            tab_active   "{index}:{name}* "

            datetime          " {format} "
            datetime_format   "%H:%M %d-%b-%y"
            datetime_timezone "Europe/Berlin"
        }
    }
}