Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: option to set beacon color to cursor color. #73

Open
ScottFreeCode opened this issue Jan 23, 2020 · 1 comment
Open

Comments

@ScottFreeCode
Copy link

It would be neat to be able set the beacon color to automatically use whatever the current color of the cursor is, so that it appears to fade into the cursor. This is almost how it looks if the cursor is grayish and the beacon color is 0.5, but having it exactly without any fine-tuning would be handy.

@KaratasFurkan
Copy link

If beacon color and the cursor color is the same, cursor color turns white during blinking (i don't know why).

As a workaround, you can use this script to set beacon color almost to cursor color:

(defvar cursor-color+1 (format "#%x" (+ 1 (string-to-number (string-remove-prefix "#" (face-attribute 'cursor :background)) 16))))
(setq beacon-color cursor-color+1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants