Compare commits

...

2 Commits

Author SHA1 Message Date
masterzu cb56eb764a
newsboat files 2024-11-28 23:26:28 +01:00
masterzu d6d1f12dfc
maj mutt 2024-11-28 23:25:12 +01:00
3 changed files with 12 additions and 9 deletions

View File

@ -8,8 +8,8 @@ alias d='ls -al | egrep ^d'
alias dl='ls -al | egrep "^[d|l]"'
alias ll='ls -alh'
alias h=history
alias td='todo -c --force-colour --filter -done,+children | less -r'
alias tdall='todo --force-colour -A|less -r'
alias td='todo -c --force-colour --filter -done,+children | less -RF'
alias tdall='todo --force-colour -A|less -RF'
alias pp='python -mjson.tool'
alias cd='cd -P'
alias x='chmod +x'
@ -52,7 +52,7 @@ alias revln='find . -xdev -type l -exec echo -n "{} -> " \; -exec readlink {}
# alias seed='run-mailcap --norun --debug'
alias edit='run-mailcap --action=edit'
alias lf='/bin/ls -rt1|tail -1'
alias lastf='/bin/ls -rt1|tail -1'
alias slf='run-mailcap "$(/bin/ls -rt1|tail -1)"'
alias vlf='edit "$(/usr/bin/ls -rt1|tail -1)"'
@ -70,6 +70,9 @@ alias cm='cd ~/.mutt'
alias vm='vim ~/.mutt/muttrc'
alias vma='vim ~/.mutt/alias'
# urlscan
alias vurl='vim ~/.config/urlscan/config.json'
# w3m
alias vw='vim ~/.w3m/config'

6
config
View File

@ -9,9 +9,9 @@ goto-next-feed no
# use macro with <,> + <macro>
# from https://wiki.archlinux.org/index.php/Newsboat
macro v set browser "tsp mpv %u"; open-in-browser ; set browser urlportal.sh
macro c set browser "google-chrome %u"; open-in-browser ; set browser urlportal.sh
macro b set browser "browsh --startup-url %u"; open-in-browser ; set browser urlportal.sh
macro v set browser "tsp mpv %u" ; open-in-browser ; set browser urlportal.sh -- "open video with mpv/tsp"
macro c set browser "google-chrome %u"; open-in-browser ; set browser urlportal.sh -- "open with google chrome"
macro b set browser "browsh --startup-url %u"; open-in-browser ; set browser urlportal.sh -- "open with browsh"
color background white black
color listnormal white black

6
muttrc
View File

@ -90,9 +90,9 @@ bind pager <down> half-down
macro index .r ":source ~/.mutt/muttrc<enter>" "Reload muttrc"
macro index <esc>T <untag-pattern>
# urlscan/urlview
# FIXME BROKEN macro index,pager \cb "<pipe-message>urlscan<enter>" "open URL in urlscan"
macro index,pager \cb "<pipe-message>urlview<enter>" "open URL in urlview"
# urlscan
macro index,pager \cb "<pipe-message>urlscan<enter>" "open URL in urlscan"
macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message"
# save messages
macro index >I <tag-prefix><save-message>=SERVICE.INFO<enter> 'save to service info'