diff options
author | Sn4il <sn4il@thedroth.rocks> | 2023-11-22 16:59:51 +0300 |
---|---|---|
committer | Sn4il <sn4il@thedroth.rocks> | 2023-11-22 16:59:51 +0300 |
commit | 85af75f81a72b8c605cfffb46608ff1a84d81f68 (patch) | |
tree | 49d12e8fc575662ec078c71cf46260a9fa211e30 | |
parent | c5df101d541b3b8c12147bfc7fad763404e0ce3e (diff) | |
download | dotfiles-85af75f81a72b8c605cfffb46608ff1a84d81f68.tar.gz dotfiles-85af75f81a72b8c605cfffb46608ff1a84d81f68.zip |
Dracula theme for mutt and newsboat
-rw-r--r-- | .mailcap | 1 | ||||
-rw-r--r-- | mutt/muttrc | 70 | ||||
-rw-r--r-- | newsboat/config | 26 |
3 files changed, 97 insertions, 0 deletions
diff --git a/.mailcap b/.mailcap new file mode 100644 index 0000000..8603537 --- /dev/null +++ b/.mailcap @@ -0,0 +1 @@ +text/html; w3m -I %{charset} -T text/html; copiousoutput; diff --git a/mutt/muttrc b/mutt/muttrc new file mode 100644 index 0000000..8b2af62 --- /dev/null +++ b/mutt/muttrc @@ -0,0 +1,70 @@ +# vim: filetype=neomuttrc +#source /usr/local/share/mutt-wizard/mutt-wizard.muttrc +source /home/sn4il/.config/mutt/accounts/account1.muttrc +set sidebar_visible = yes + +set sidebar_width = 15 + +set sidebar_folder_indent = yes + +set sidebar_short_path = yes +bind index,pager \CB sidebar-toggle-visible +bind index,pager \CP sidebar-prev +bind index,pager \CN sidebar-next +bind index,pager \CO sidebar-open +macro index,pager i1 '<sync-mailbox><enter-command>source /home/sn4il/.config/mutt/accounts/account1.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to account1" +macro index,pager i2 '<sync-mailbox><enter-command>source /home/sn4il/.config/mutt/accounts/account2.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to account2" +macro index,pager \cV ": unset wait_key; set pipe_decode\n|w3m\n: set wait_key; unset pipe_decode\n" "call w3m to extract URLs out of a message" + + +set mailcap_path = ~/.mailcap +auto_view text/html + +macro index A \ + "<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" \ + "mark all new as read" + +############################################################################### +# Dracula Theme for Mutt: https://draculatheme.com/ +# +# @author Paul Townsend <paul@caprica.org> + +# general ------------ foreground ---- background ----------------------------- +color error color231 color212 +color indicator color231 color241 +color markers color210 default +color message default default +color normal default default +color prompt default default +color search color84 default +color status color141 color236 +color tilde color231 default +color tree color141 default + +# message index ------ foreground ---- background ----------------------------- +color index color210 default ~D # deleted messages +color index color84 default ~F # flagged messages +color index color117 default ~N # new messages +color index color212 default ~Q # messages which have been replied to +color index color215 default ~T # tagged messages +color index color141 default ~v # messages part of a collapsed thread + +# message headers ---- foreground ---- background ----------------------------- +color hdrdefault color117 default +color header color231 default ^Subject:.* + +# message body ------- foreground ---- background ----------------------------- +color attachment color228 default +color body color231 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses +color body color228 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs +color body color231 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text +color body color231 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text +color body color231 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text +color quoted color61 default +color quoted1 color117 default +color quoted2 color84 default +color quoted3 color215 default +color quoted4 color212 default +color signature color212 default + + diff --git a/newsboat/config b/newsboat/config new file mode 100644 index 0000000..ea77040 --- /dev/null +++ b/newsboat/config @@ -0,0 +1,26 @@ +# Dark theme based on Dracula color scheme for newsboat. +# +# In order to use this color scheme, you must first configure +# your terminal emulator to use the Dracula palette. +# See <https://draculatheme.com/> for more information. + +color background default default +color listnormal color255 default +color listfocus color238 color255 standout +color listnormal_unread color47 default +color listfocus_unread color238 color47 standout +color info color141 color236 + +# highlights +highlight all "---.*---" yellow +highlight feedlist ".*(0/0))" black +highlight article "(^Feed:|^Title:|^Date:|^Link:|^Author:)" cyan default bold +highlight article "https?://[^ ]+" yellow default +highlight article "\\[[0-9][0-9]*\\]" magenta default bold +highlight article "\\[image\\ [0-9]+\\]" green default bold +highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold +highlight article ":.*\\(link\\)$" cyan default +highlight article ":.*\\(image\\)$" blue default +highlight article ":.*\\(embedded flash\\)$" magenta default + + |