-
Notifications
You must be signed in to change notification settings - Fork 3
/
plugin.kdl
79 lines (79 loc) · 2.7 KB
/
plugin.kdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
layout {
pane size=1 borderless=true {
plugin location="file:./target/wasm32-wasip1/debug/zellij-datetime.wasm" {
// Testing multiple timezone settings
timezone1 "PDT/-9"
timezone2 "UTC/0"
timezone3 "CEST/+2"
timezone4 "JST/+9"
timezone5 "NPT/+5.75"
// Testing that it will be in the specified timezone instead of timezone1
default_timezone "JST"
// Specify custom format strings
date_format "%Y/%m/%d %A"
time_format "%I:%M %p"
// Testing the Color Parser
background_color "#0080a0"
foreground_color "#ffffff"
pane_color "#1e1e1e"
// Testing Arrow
arrow_separator1 ""
arrow_separator2 ""
arrow_separator3 ""
padding_adjust 0
// Testing Plug-in Permissions
// To be tested at the first interactive query and at the automatic configuration cache.
enable_right_click true
// Testing Text align
text_align "right"
// Debugging options (not yet used)
enable_debug true
}
}
pane size=1 borderless=true {
// Testing the Default Option
plugin location="file:./target/wasm32-wasip1/debug/zellij-datetime.wasm"
}
pane size=1 borderless=true {
plugin location="file:./target/wasm32-wasip1/debug/zellij-datetime.wasm" {
// Testing that the optional keys are sorted
timezone4 "日本/+9"
timezone3 "CEST/+2"
// Testing full-width string
default_timezone "日本"
// Testing Arrow render
arrow_separator1 "🌍"
arrow_separator2 "📅"
arrow_separator3 "⌚"
padding_adjust 1
pane_color "#0080a0"
text_align "center"
}
}
pane size=1 borderless=true {
plugin location="file:./target/wasm32-wasip1/debug/zellij-datetime.wasm" {
timezone1 "CEST/+2"
timezone2 "JST/+9"
background_color "#000"
foreground_color "#0080a0"
pane_color "#1e1e1e"
// Testing Arrow render
arrow_separator1 ""
arrow_separator2 ""
arrow_separator3 ""
padding_adjust -2
text_align "left"
}
}
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane focus=true
pane command="tail" close_on_exit=true {
args "-f" "zellij.log"
cwd "/tmp/zellij-0/zellij-log"
}
pane size=1 borderless=true {
plugin location="zellij:status-bar"
}
}