h1romas4 / zellij-datetime

This plugin adds a date and time pane to [Zellij](https://zellij.dev/), a terminal workspace.
https://another.maple4ever.net/archives/3271/
MIT License
20 stars 3 forks source link

Add hint how to correctly add zellij-datetime on same line as other bars to readme #6

Closed ghost closed 3 months ago

ghost commented 3 months ago

Hey, thanks for the plugin. The default config from the readme, as far as I can see, doesn't put the bar on the same line as the other bar(s), unless I'm doing something wrong. I've now arrived at a layout like this:

layout {
    pane split_direction="vertical" size=1 {
        pane size="70%" borderless=true {
            plugin location="compact-bar"
        }
        pane size="30%" borderless=true {
            plugin location="file:/Users/user1/.config/zellij/plugins/zellij-datetime.wasm" {
                timezone1 "UTC/0"
                default_timezone "UTC"
            }
        }
    }

    pane
}

Is that how it's intended to be done?

Either way, I think its fair to assume that this plugin might be the first point of contact with the plugin and layout ecosystem for ppl new to zellij like me, so it might be worth a short section in the README. Though I'd understand if you said this was better suited for the zellij docs themselves.

h1romas4 commented 3 months ago

You are correcft, as pointed out. I fixed it, thank you so much!

ghost commented 3 months ago

Great! Thanks for getting back to me so quickly and enjoy your week! :)