Skip to content

Commit

Permalink
Add hint how to correctly add zellij-datetime on same line as other b…
Browse files Browse the repository at this point in the history
…ars to readme #6
  • Loading branch information
h1romas4 committed May 21, 2024
1 parent 040d6d1 commit e4d30df
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Set the full path to `zellij-datetime.wasm` in the `~/.config/zellij/layouts/def
vi ~/.config/zellij/layouts/default.kdl
```

Example - Basic layout:

```kdl
layout {
pane size=1 borderless=true {
Expand All @@ -59,6 +61,25 @@ layout {
}
```

Example - The same line as the other bar(s):

```kdl
layout {
pane size=1 split_direction="vertical" {
pane size="75%" borderless=true {
plugin location="zellij:tab-bar"
}
pane size="25%" borderless=true {
plugin location="file:/home/hiromasa/.config/zellij/plugins/zellij-datetime.wasm"
}
}
pane
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
}
```

## Usage

- Timezone can be selected by left mouse click or scrolling.
Expand Down

0 comments on commit e4d30df

Please sign in to comment.