dark-notify

Watcher for macOS 10.14+ light/dark mode changes (by cormacrelf)

Dark-notify Alternatives

Similar projects and alternatives to dark-notify

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dark-notify alternative or higher similarity.

dark-notify reviews and mentions

Posts with mentions or reviews of dark-notify. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-07.
  • How to detect dark/light/system mode in macos and windows?
    2 projects | /r/learnrust | 7 Jul 2023
    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?
    2 projects | /r/neovim | 21 May 2023
    I use https://github.com/cormacrelf/dark-notify
  • Emacs’s Builtin Elisp Cheat Sheet
    8 projects | news.ycombinator.com | 6 Jul 2022
    > 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?
    2 projects | /r/neovim | 23 Oct 2021
    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.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 25 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic dark-notify repo stats
4
169
0.0
about 1 year ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com