onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.34k stars 299 forks source link

E-mail Notification, Weather, and Time Statusbar sections #505

Open Bretley opened 7 years ago

Bretley commented 7 years ago

These don't have to be defaults, but these are something I miss having when I'm in oni that I normally get from my tmux statusline

bryphe commented 7 years ago

Cool ideas! Time seems like a really easy one to enable - we could even include that in our default statusbar in oni-core-statusbar and enable it via a setting. It would be useful.

E-mail and weather would be great ways to exercise Oni's 'plugin' system. I'm not actually sure how the e-mail one works - would we need to support authenticating with GMail/Hotmail/etc?

Weather one seems straightforward, with a REST API we could populate that statusbar item. And there is at least a sun and cloud icon on font awesome, but maybe there are better icons to use.

Bretley commented 7 years ago

I think we could include instructions, but you can set up token authentication that only has to be done once. The user just gets the code from google and pastes it in maybe their Config.js.

After that you just have to use a generic mail API to get unread or something along those lines. The tmux one I think is specifically gmail but I'm not 100% sure

On Thu, Jun 29, 2017 at 11:10 AM extr0py notifications@github.com wrote:

Cool ideas! Time seems like a really easy one to enable - we could even include that in our default statusbar in oni-core-statusbar and enable it via a setting. It would be useful.

E-mail and weather would be great ways to exercise Oni's 'plugin' system. I'm not actually sure how the e-mail one works - would we need to support authenticating with GMail/Hotmail/etc?

Weather one seems straightforward, with a REST API we could populate that statusbar item. And there is at least a sun and cloud icon on font awesome, but maybe there are better icons to use.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/extr0py/oni/issues/505#issuecomment-311997198, or mute the thread https://github.com/notifications/unsubscribe-auth/AICBCX0UKVupIJrEsYyO2F4ItDILbmrQks5sI759gaJpZM4OJX8z .

cyansprite commented 7 years ago

Cool ideas! Time seems like a really easy one to enable - we could even include that in our default statusbar in oni-core-statusbar and enable it via a setting. It would be useful.

Time would be nice, weather and e-mail extra/optional, it's not something I really want to see in my editor :P. Great idea all the same, one tmux thing I really enjoyed on the status line was cpu stats.