dots: cleanup
This commit is contained in:
parent
b83ba634e6
commit
577b24ddc5
6 changed files with 10 additions and 196 deletions
|
@ -1,67 +0,0 @@
|
|||
# vim: filetype=neomuttrc
|
||||
|
||||
# General rebindings
|
||||
bind index v tag-entry
|
||||
bind index,pager i noop
|
||||
bind index,pager g noop
|
||||
bind index \Cf noop
|
||||
bind index,pager M noop
|
||||
bind index,pager C noop
|
||||
bind index a toggle-new
|
||||
bind index gg first-entry
|
||||
bind index j next-entry
|
||||
bind index k previous-entry
|
||||
bind attach l view-mailcap
|
||||
bind index G last-entry
|
||||
bind pager,attach h exit
|
||||
bind pager j next-line
|
||||
bind pager k previous-line
|
||||
bind pager l view-attachments
|
||||
bind index D delete-message
|
||||
bind index U undelete-message
|
||||
bind index L limit
|
||||
bind index h noop
|
||||
bind index l display-message
|
||||
bind index,query <space> tag-entry
|
||||
macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
|
||||
bind index,pager H view-raw-message
|
||||
bind browser l select-entry
|
||||
bind pager,browser gg top-page
|
||||
bind pager,browser G bottom-page
|
||||
bind index,pager,browser d half-down
|
||||
bind index,pager,browser u half-up
|
||||
bind index,pager S sync-mailbox
|
||||
bind index,pager R group-reply
|
||||
bind index \031 previous-undeleted
|
||||
bind index \005 next-undeleted
|
||||
bind pager \031 previous-line
|
||||
bind pager \005 next-line
|
||||
bind editor <Tab> complete-query
|
||||
|
||||
# Sidebar
|
||||
bind index,pager \Ck sidebar-prev
|
||||
bind index,pager \Cj sidebar-next
|
||||
bind index,pager \Co sidebar-open
|
||||
bind index,pager \Cp sidebar-prev-new
|
||||
bind index,pager \Cn sidebar-next-new
|
||||
bind index,pager B sidebar-toggle-visible
|
||||
|
||||
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
|
||||
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
|
||||
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
|
||||
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
|
||||
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
|
||||
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
|
||||
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
|
||||
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
|
||||
macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
|
||||
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
|
||||
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
|
||||
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
|
||||
macro index,pager ga "<change-folder>=Archive<enter>" "go to archive"
|
||||
macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive"
|
||||
macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive"
|
||||
macro index,pager c "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook"
|
||||
macro index R "<shell-escape>mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc dmitz@disroot.org<enter>" "run mbsync to sync dmitz@disroot.org"
|
||||
macro index A "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
|
||||
macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern"
|
|
@ -1,48 +0,0 @@
|
|||
# vim: filetype=neomuttrc
|
||||
|
||||
color index blue default '.*'
|
||||
color index white default "~R"
|
||||
color index brightyellow default "~T"
|
||||
color indicator yellow black
|
||||
color sidebar_highlight yellow default
|
||||
color sidebar_divider black default
|
||||
color sidebar_flagged red black
|
||||
color sidebar_new blue black
|
||||
color normal blue black
|
||||
color error red default
|
||||
color tilde black default
|
||||
color message blue default
|
||||
color markers red white
|
||||
color attachment white default
|
||||
color search magenta default
|
||||
color status white default
|
||||
color hdrdefault green default
|
||||
color quoted green default
|
||||
color quoted1 blue default
|
||||
color quoted2 cyan default
|
||||
color quoted3 yellow default
|
||||
color quoted4 red default
|
||||
color quoted5 brightred default
|
||||
color signature green default
|
||||
color bold black default
|
||||
color underline black default
|
||||
color normal default default
|
||||
|
||||
# Regex highlighting:
|
||||
color header default default ".*"
|
||||
color header magenta default "(^Date:)"
|
||||
color header cyan default "(^From|To:)"
|
||||
color header white default "(^Subject:)"
|
||||
color header yellow default "(^CC|BCC:)"
|
||||
color body red default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
|
||||
color body blue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
|
||||
color body brightwhite black "\`[^\`]*\`" # Green text between ` and `
|
||||
color body blue default "^# \.*" # Headings as bold blue
|
||||
color body cyan default "^## \.*" # Subheadings as bold cyan
|
||||
color body green default "^### \.*" # Subsubheadings as bold green
|
||||
color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
|
||||
color body red default "(BAD signature)"
|
||||
color body cyan default "(Good signature)"
|
||||
color body brightblack default "^gpg: Good signature .*"
|
||||
color body brightyellow default "^gpg: "
|
||||
color body brightyellow red "^gpg: BAD signature from.*"
|
|
@ -1,9 +0,0 @@
|
|||
text/plain; $EDITOR %s ;
|
||||
text/html; openfile %s ; nametemplate=%s.html
|
||||
text/html; elinks -dump %s; nametemplate=%s.html; copiousoutput;
|
||||
image/*; linkhandler %s ;
|
||||
video/*; linkhandler %s ;
|
||||
audio/*; linkhandler %s ;
|
||||
application/pdf; linkhandler %s ;
|
||||
application/pgp-encrypted; gpg -d '%s'; copiousoutput;
|
||||
application/pgp-keys; gpg --import '%s'; copiousoutput;
|
|
@ -1,53 +0,0 @@
|
|||
# vim: filetype=neomuttrc
|
||||
|
||||
set realname = "Dmitry Zakharchenko"
|
||||
set from = "dmitz@disroot.org"
|
||||
set sendmail = "msmtp -a dmitz@disroot.org"
|
||||
alias me dmitz <dmitz@disroot.org>
|
||||
set folder = "/home/dmitz/.local/share/mail/dmitz@disroot.org"
|
||||
set header_cache = /home/dmitz/.cache/mutt/dmitz@disroot.org/headers
|
||||
set message_cachedir = /home/dmitz/.cache/mutt/dmitz@disroot.org/bodies
|
||||
set mbox_type = Maildir
|
||||
set hostname = "disroot.org"
|
||||
set spoolfile = +INBOX
|
||||
set postponed = +Drafts
|
||||
set trash = +Trash
|
||||
set record = +Sent
|
||||
|
||||
mailboxes "=INBOX" "=Sent" "=Drafts" "=Archive" "=Trash"
|
||||
|
||||
set mailcap_path = /home/dmitz/.config/mutt/mailcap
|
||||
set mime_type_query_command = "file --mime-type -b %s"
|
||||
set date_format="%b %d"
|
||||
set index_format="%3zs %-8D %s"
|
||||
set status_format = "[ Folder: %f ] [%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]%> %?p?( %p postponed )?"
|
||||
set sort = 'reverse-date'
|
||||
set smtp_authenticators = 'gssapi:login'
|
||||
set query_command = "abook --mutt-query '%s'"
|
||||
set rfc2047_parameters = yes
|
||||
set sleep_time = 0
|
||||
set markers = no
|
||||
set mark_old = no
|
||||
set mime_forward = yes
|
||||
set wait_key = no
|
||||
set fast_reply
|
||||
set fcc_attach
|
||||
set forward_format = "Fwd: %s"
|
||||
set forward_quote
|
||||
set reverse_name
|
||||
set include
|
||||
set mail_check=60
|
||||
auto_view text/html
|
||||
auto_view application/pgp-encrypted
|
||||
alternative_order text/plain text/enriched text/html
|
||||
|
||||
# Sidebar
|
||||
set sidebar_visible = yes
|
||||
set sidebar_width = 20
|
||||
set sidebar_short_path = yes
|
||||
set sidebar_next_new_wrap = yes
|
||||
set mail_check_stats
|
||||
set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?'
|
||||
|
||||
source /home/dmitz/.config/mutt/binds
|
||||
source /home/dmitz/.config/mutt/colors
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"palettes": {
|
||||
"default": [
|
||||
[ "footer", "white", "black" ],
|
||||
[ "search", "white", "" ],
|
||||
[ "msgtext:ellipses", "light gray", "black" ],
|
||||
[ "urlref:number:braces", "dark magenta", "" ],
|
||||
[ "urlref:number", "dark magenta", "" ],
|
||||
[ "urlref:url", "dark blue", "default" ],
|
||||
[ "url:sel", "yellow", "default" ]
|
||||
]
|
||||
},
|
||||
"keys": {
|
||||
"0": "digits", "1": "digits", "2": "digits", "3": "digits", "4": "digits",
|
||||
"5": "digits", "6": "digits", "7": "digits", "8": "digits", "9": "digits",
|
||||
"g": "top", "j": "down", "k": "up", "q": "quit",
|
||||
"G": "bottom", "c": "context", "?": "help_menu"
|
||||
}
|
||||
}
|
10
.local/bin/sbar
Executable file
10
.local/bin/sbar
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
FIFO="$XDG_RUNTIME_DIR/sandbar-0"
|
||||
|
||||
[ -e "$FIFO" ] && rm -f "$FIFO"
|
||||
mkfifo "$FIFO"
|
||||
|
||||
while cat "$FIFO"; do :; done | sandbar -hide-vacant-tags -no-title -vertical-padding 3 -title-bg-color '222222ff' -font 'monospace:size=10' &
|
||||
|
||||
pidof -sx someblocks || someblocks -s "$FIFO" &
|
Loading…
Reference in a new issue