dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 667aaa334c1713439bcbdbb634b0ed514d4130d1
parent 349d9fc7fe72ecc1a23eff83e3a3cc7d269c29ba
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Thu, 24 Jun 2021 21:30:09 +0200

newsboat: document macros with new syntax

Diffstat:
Mnewsboat/config | 22+++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/newsboat/config b/newsboat/config @@ -56,14 +56,14 @@ color listnormal_unread white default browser "linkhandler %u" unbind-key , bind-key SPACE macro-prefix -macro SPACE set browser "open -g %u"; open-in-browser; set browser "linkhandler %u" -macro v set browser "linkhandler"; open-in-browser ; set browser "linkhandler %u" -macro a set browser "mpc add \"$(youtube-dl -x -g %u)\" && mpc play"; open-in-browser; set browser "linkhandler %u" -macro w set browser "w3m -config ~/.config/w3m/config %u"; open-in-browser; set browser "linkhandler %u" -macro i set browser "youtube-dl --get-title --get-duration --get-description %u | less"; open-in-browser; set browser "linkhandler %u" -macro c set browser "printf '%s' %u | clc" ; open-in-browser ; set browser "linkhandler %u" -macro u set browser "urlview"; open-in-browser ; set browser "linkhandler %u" -macro l set browser "notify 'Downloading' %u 'bcdl' && setsid -f bcdl %u >/tmp/bcdl$(date +%s).log 2>&1"; open-in-browser; set browser "linkhandler %u" -macro s set browser "pocket save %u && notify 'Saved to Pocket' %u 'pocket' || notify 'Could not save' %u 'pocket'"; open-in-browser ; set browser "linkhandler %u" -macro d set browser "newsboat-dl av %u 1>/dev/null 2>&1 & disown"; open-in-browser ; set browser "linkhandler %u" -macro n set browser "newsboat-dl aonly %u 1>/dev/null 2>&1 & disown"; open-in-browser ; set browser "linkhandler %u" +macro SPACE set browser "open -g %u"; open-in-browser; set browser "linkhandler %u" -- "Open in browser" +macro v set browser "linkhandler"; open-in-browser ; set browser "linkhandler %u" -- "Open with linkhandler" +macro a set browser "mpc add \"$(youtube-dl -x -g %u)\" && mpc play"; open-in-browser; set browser "linkhandler %u" -- "Play as audio" +macro w set browser "w3m -config ~/.config/w3m/config %u"; open-in-browser; set browser "linkhandler %u" -- "Open in w3m" +macro i set browser "youtube-dl --get-title --get-duration --get-description %u | less"; open-in-browser; set browser "linkhandler %u" -- "Get media info" +macro c set browser "printf '%s' %u | clc" ; open-in-browser ; set browser "linkhandler %u" -- "Copy link" +macro u set browser "urlview"; open-in-browser ; set browser "linkhandler %u" -- "Urlview" +macro l set browser "notify 'Downloading' %u 'bcdl' && setsid -f bcdl %u >/tmp/bcdl$(date +%s).log 2>&1"; open-in-browser; set browser "linkhandler %u" -- "Bandcamp download" +macro s set browser "pocket save %u && notify 'Saved to Pocket' %u 'pocket' || notify 'Could not save' %u 'pocket'"; open-in-browser ; set browser "linkhandler %u" -- "Save to Pocket" +macro d set browser "newsboat-dl av %u 1>/dev/null 2>&1 & disown"; open-in-browser ; set browser "linkhandler %u" -- "Download video" +macro n set browser "newsboat-dl aonly %u 1>/dev/null 2>&1 & disown"; open-in-browser ; set browser "linkhandler %u" -- "Download audio only"