dark-notify
Shade.nvim
dark-notify | Shade.nvim | |
---|---|---|
4 | 8 | |
169 | 466 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | 4 months ago | |
Rust | Lua | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dark-notify
-
How to detect dark/light/system mode in macos and windows?
I found this neovim plugin for macos https://github.com/cormacrelf/dark-notify that does exactly that, looking at the source code, it spawn a new macos application and looks for changes
-
Is there a way for neovim to know my terminal background color?
I use https://github.com/cormacrelf/dark-notify
-
Emacs’s Builtin Elisp Cheat Sheet
> I'd say that's kinda a big selling point of Emacs though: you can write elisp code to make anything you do (not just writing code) less of a pain.
I agree in principle, but in practice, I find myself writing a lot of ELisp just to work around Emacs' shortcomings. E.g. on macOS, to support dark/light theme switching integrated with the rest of the system, I need an external program[0], a shell script to tell that program to call emacsclient, a LaunchAgent to keep it running, an unholy build of Emacs with all of the GNU-unapproved Cocoa integrations that some kind soul is maintaining, and only THEN a piece of ELisp (which is also calling out to AppleScript) to actually change the theme[1]. And as I wrote this, I realised half of this glue didn't even make it into version control.
[0]: https://github.com/cormacrelf/dark-notify
[1]: https://github.com/rollcat/dotfiles/blob/7f6a6d7/.emacs.d/in...
I've been using Emacs for about 20 years, and with every passing year I just wish there was *less* ELisp for me to think about. The actual useful customisations (like adding the +x bit on shell scripts) are few and far between, most of it is just glue and fixes.
-
'set bg=light/dark' on the fly not fixed yet?
If you’re struggling with background toggling, I suggest having a look at https://github.com/cormacrelf/dark-notify. Its Lua plugin doesn’t require macOS, it can be used through a mapping as a generic background toggler between two different schemes, and you get to run arbitrary code when it does toggle, which is useful for integration with themed status bars etc.
Shade.nvim
-
This Week In Neovim #33 — Mon Feb 27 2023
I think this is done by rosstang/dimit.nvim, but might also be levouh/tint.nvim or sunjon/Shade.nvim.
-
Are there any plugins or settings to make my neovim look better?
hm, I don't get that behavior on my config. If you're using something like shade.nvim to dim your unfocused splits/windows that's probably setting the background to something besides NONE.
-
How long does it take a merged commit to make it to stable?
Why not using shade.nvim instead?
-
Alternatives for the Shade plugin?
Are there plugins with proposals similar to Shade? I would like to know more, any recommendation?
-
Borders around active window
The only thing I cna really add to the conversation is shade.nvim which is a cool concept, but I never really had a ton of luck with it. The difference between that and winhl is that it uses floating windows with alpha so even the foreground text looks properly dimmed.
-
What's the NeoVim feature/bugfix you're craving for?
Something like https://github.com/sunjon/Shade.nvim by default; so a way to handle window behaviours on focus/unfocus/enter/leave/etc. There are just so many edge cases that Shade.nvim is presently missing so it is broke for a ton of things.
-
'set bg=light/dark' on the fly not fixed yet?
Hey. I found it. https://github.com/sunjon/Shade.nvim This plugin was causing it.
-
Are all terminal emulators good to use Neovim with?
Personally, I've had no issues with any emulator (Alacritty, Terminal.app, iTerm2, and previously st), but I also don't care about visual things in my editor. I don't use any icons and I use an unpatched font because, similar to you, I don't really want to go chasing dragons. I had to stop using the shade plugin even though I really liked it because it didn't work well with sessions, so I definitely don't give a lot of priority to visual elements.
What are some alternatives?
neovim-gtk - gtk ui for neovim
hologram.nvim - 👻 A cross platform terminal image viewer for Neovim. Extensible and fast, written in Lua and C. Works on macOS and Linux.
dotfiles - My dotfiles: macOS, OpenBSD, Linux. Setup: git init; git remote add github https://github.com/rollcat/dotfiles; git pull github master
transparent.nvim - Remove all background colors to make nvim transparent
emacs-buttercup - Behavior-Driven Emacs Lisp Testing
neovim - Vim-fork focused on extensibility and usability
treemacs
dotfiles
neovide - No Nonsense Neovim Client in Rust
colorful-winsep.nvim - Make your nvim window separators colorful
prelude - Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler