dark-notify
straight.el
dark-notify | straight.el | |
---|---|---|
4 | 70 | |
169 | 2,644 | |
- | -0.1% | |
0.0 | 5.5 | |
about 1 year ago | 7 days ago | |
Rust | Emacs Lisp | |
- | 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.
straight.el
-
Alternative to LSP for C/C++ that doesn’t require installing extra packages on the system
Very dated and next to useless on large complex CPP codebases. Use a language server. I recommend the straight package manager. https://github.com/radian-software/straight.el
-
Package contribution workflow
Have you tried using straight.el or the heir-apparent Elpaca? These package managers will check out the git repo of said packages, and you can easily fork them with magit and forge. That's that I do to contribute to packages.
-
Help install simple package (htmlz-mode)
Thank you for your time addressing all those issues and sorry if questions were misinformed - I found your advices invaluable to understand design goals of package managers in emacs.
- Which package manager should I use?
-
How do you guys install some pkgs ain't hosted on melpa?
I used straight.el, now I use Elpaca.
-
doom emacs
Doom Emacs is not a package manager. It has a package manager, which is based on Straight.el.
-
Boilerplate config
I have been crafting my emacs config for about 10 years. I started with vanilla and intentionally stayed away from frameworks. About two years ago I declared config bankruptcy and went down for a rewrite using use-package and straight.
-
Please help me!..
First install straight.el (https://github.com/radian-software/straight.el)
-
what is basic alghoritm/logic of installation packages to emacs?
ref: https://github.com/radian-software/straight.el https://github.com/jwiegley/use-package
-
How can I speed up my start up times?
If you use straight and override package, you'll get a lot of your desired functionality for free. Straight's docs are excellent. I started banging away on my own setup from scratch, and while not perfect, it does what I want and the total startup time is about 1.5 seconds without doing anything to try to optimize it. If you want to see it, check it out here. Like I said, there is lots of room for improvement, but it does work for me.
What are some alternatives?
Shade.nvim - An Nvim lua plugin that dims your inactive windows
use-package - A use-package declaration for simplifying your .emacs
neovim-gtk - gtk ui for neovim
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
dotfiles - My dotfiles: macOS, OpenBSD, Linux. Setup: git init; git remote add github https://github.com/rollcat/dotfiles; git pull github master
melpa - Recipes and build machinery for the biggest Emacs package repo
emacs-buttercup - Behavior-Driven Emacs Lisp Testing
.emacs.d - Centaur Emacs - A Fancy and Fast Emacs Configuration
treemacs
prelude - Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
neovide - No Nonsense Neovim Client in Rust
eglot - A client for Language Server Protocol servers