directvt / vtm

Text-based desktop environment
MIT License
1.62k stars 43 forks source link

Toast Notifications #227

Open USLTD opened 2 years ago

USLTD commented 2 years ago

While I added this to #183 (App Roadmap), I think it will be better to create „issue“ addressing this.

I was looking for rices on https://reddit.com/r/unixporn and I accidentally stumbled upon one NeoViM screenshot which had nice notification from right side (like how it is on Microsoft Visual Studio Code, Windows or most of Desktop Environments. After researching I found out that it was created using nvim-notify (Below is example) nvim-notify example

So I thought that it would be great to create something similar for vtm with certain API so I created this issue.

What do you think @o-sdn-o? It even has few appear-disappear styles: slide [w/o fade], fade, static

o-sdn-o commented 2 years ago

Yes, of course this is a necessary feature. This can be implemented in the spirit https://gitlab.freedesktop.org/terminal-wg/specifications/-/issues/13

USLTD commented 2 years ago

Also project mentioned was inspired by this https://neovim.discourse.group/t/wip-animated-notifications-plugin/448 showcase which shows better notifications (for example look at clock). After digging around this is repo of original author (currently notify is not implemented but some other cool things are) stylish.nvim. I think it's worth checking it out and getting some cool things from it.

Here is original inspiration material: Updated GIF

Something: Other style