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

Scimax Elfeed issue: changing the color of feeds #334

Closed
shrysr opened this issue Jan 19, 2020 · 3 comments
Closed

Scimax Elfeed issue: changing the color of feeds #334

shrysr opened this issue Jan 19, 2020 · 3 comments

Comments

@shrysr
Copy link

shrysr commented Jan 19, 2020

scimax-elfeed.el has the following snippet for setting the background colors of certain feeds. However, since there is apparently no easy solution to syncing the database across computers, I run this elfeed on a terminal on my VPS. (This has actually worked rather well). Therefore on that machine over ssh - I have to discard the Leuven theme and etc for efficiency and cursor visibility. At the moment these feeds are completely invisible due to the limited terminal colors.

I have tried defining the same snippet with "black", and killing all the elfeed buffers, however there has been no effect. I'm not sure why. Any advice would be appreciated.

(defface python-elfeed-entry
  '((t :background "Darkseagreen1"))
  "Marks a python Elfeed entry.")

(defface emacs-elfeed-entry
  '((t :background "Lightblue1"))
  "Marks a python Elfeed entry.")

(push '(python python-elfeed-entry)
      elfeed-search-face-alist)

(push '(emacs emacs-elfeed-entry)
      elfeed-search-face-alist)
@jkitchin
Copy link
Owner

what if you set :background to nil? I guess another alternative might be to remove those entries from elfeed-search-face-alist, e.g.

(setq elfeed-search-face-alist (remove '(python python-elfeed-entry) elfeed-search-face-alist)
      elfeed-search-face-alist (remove '(emacs emacs-elfeed-entry) elfeed-search-face-alist))

@shrysr
Copy link
Author

shrysr commented Jan 23, 2020 via email

@uliw
Copy link

uliw commented Jan 31, 2020

I added this to my user.el

(set-face-attribute 'python-elfeed-entry nil :background nil :weight 'normal)
(set-face-attribute 'emacs-elfeed-entry nil :background nil :weight 'normal)
(set-face-attribute 'elfeed-search-unread-title-face nil  :weight 'normal)
(set-face-attribute 'elfeed-search-feed-face nil :height '0.8)

@jkitchin jkitchin closed this as completed Feb 1, 2020
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

3 participants