dotfiles

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

commit 883a1c96ef91f7ebdbe1ebaf5da16f38e74502d7
parent 023c756508f0e89640422eb6d8350d4ab3e4afbd
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sat,  9 Mar 2019 13:26:40 +0100

Added newsboat dotfiles


Former-commit-id: 7ebb06d536a158525809fb1efbbc3e6442155436
Diffstat:
Anewsboat/config | 38++++++++++++++++++++++++++++++++++++++
Anewsboat/urls | 3+++
Mscripts/conf | 7+++++++
3 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/newsboat/config b/newsboat/config @@ -0,0 +1,38 @@ +#auto-reload yes +reload-threads 4 +show-read-feeds no + +bind-key j down +bind-key k up +bind-key j next articlelist +bind-key k prev articlelist +bind-key J next-feed articlelist +bind-key K prev-feed articlelist +bind-key G end +bind-key g home +bind-key d pagedown +bind-key u pageup +bind-key l open +bind-key h quit +bind-key a toggle-article-read +bind-key n next-unread +bind-key N prev-unread +bind-key D pb-download +bind-key U show-urls +bind-key x pb-delete +bind-key ^t next-unread + +color listnormal cyan default +color listfocus black yellow standout bold +color listnormal_unread blue default +color listfocus_unread yellow default bold +color info red black bold +color article cyan default + +browser "open '%u'" +macro , open-in-browser +macro t set browser "youtube-dl --add-metadata -ic"; open-in-browser ; set browser "open '%u'" +macro a set browser "youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-browser ; set browser "open '%u'" +macro v set browser "nohup mpv"; open-in-browser ; set browser "open '%u'" +macro w set browser "w3m"; open-in-browser ; set browser "open '%u'" +macro c set browser "pbcopy <<<" ; open-in-browser ; set browser "open '%u'" diff --git a/newsboat/urls b/newsboat/urls @@ -0,0 +1,3 @@ +http://lukesmith.xyz/rss.xml +https://notrelated.libsyn.com/rss +https://cli.fan/posts/index.xml diff --git a/scripts/conf b/scripts/conf @@ -13,6 +13,7 @@ lncommand() { } #}}} +# List available config files {{{ print_available() { echo "Config files:" echo "bin various binaries" @@ -21,6 +22,7 @@ print_available() { echo "git git config files and hooks" echo "iterm2 profiles, colors, and such for iTerm2 (Mac)" echo "karabiner key config for karabiner-elements on Mac, notably caps lock as escape and control" + echo "newsboat urls and keymap for newsboat RSS reader" echo "oh-my-zsh the whole oh-my-zsh config directory" echo "radio radio metadata for the internet radio script" echo "ranger ranger file browser config" @@ -28,6 +30,8 @@ print_available() { echo "shell various configs related to shells" echo "vim vim configuration files" } +# }}} + # Use command {{{ use_files() { if [ $# -gt 0 ]; then @@ -54,6 +58,9 @@ use_files() { "karabiner") lncommand "$CONF_DIR/karabiner" "$HOME/.config/karabiner" ;; + "newsboat") + lncommand "$CONF_DIR/newsboat" "$HOME/.newsboat" + ;; "oh-my-zsh") lncommand "$CONF_DIR/oh-my-zsh" "$HOME/.oh-my-zsh" ;;