From 8ae305e0708ce89884b9121768785c19ba26e4ac Mon Sep 17 00:00:00 2001 From: Dominic DiTaranto Date: Sun, 21 Dec 2025 21:21:27 -0500 Subject: [PATCH] newsboat and i3blocks --- .config/i3blocks/config | 5 +++ .config/nvim/lua/config/plugins/mason.lua | 5 +-- .config/tmux/tmux.conf | 1 + .newsboat/config | 51 +++++++++++++++++++++++ 4 files changed, 58 insertions(+), 4 deletions(-) create mode 100644 .newsboat/config diff --git a/.config/i3blocks/config b/.config/i3blocks/config index 0b51825..2a4f731 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -14,6 +14,11 @@ label= command=sensors | grep Core | head -n 1 | cut -d ' ' -f 10 | cut -d '+' -f 2 interval=10 +[rss] +command=newsboat -x print-unread | sed 's/ /\n/g' | head -n 1 +interval=43200 +label= + [pkgs] command=checkupdates | wc -l interval=43200 diff --git a/.config/nvim/lua/config/plugins/mason.lua b/.config/nvim/lua/config/plugins/mason.lua index 34aae30..739b286 100644 --- a/.config/nvim/lua/config/plugins/mason.lua +++ b/.config/nvim/lua/config/plugins/mason.lua @@ -12,16 +12,13 @@ require("mason-tool-installer").setup({ "biome", "djlint", "emmet-language-server", - "html-lsp", "lua-language-server", - "lwc-language-server", - "omnisharp", + -- "lwc-language-server", "prettier", "prettierd", "python-lsp-server", "ruff", "selene", "stylua", - "typescript-language-server", }, }) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index d3f7601..85ae0d9 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -23,6 +23,7 @@ bind -n M-Down select-pane -D set -g mouse on # panes +set -g status-style bg=default set -g pane-border-style 'fg=red' set -g pane-active-border-style 'fg=yellow' diff --git a/.newsboat/config b/.newsboat/config new file mode 100644 index 0000000..a3251f3 --- /dev/null +++ b/.newsboat/config @@ -0,0 +1,51 @@ +# -- feeds --------------------------------------------------------------------- + +auto-reload yes +reload-time 120 +reload-threads 4 +download-retries 4 +download-timeout 10 +prepopulate-query-feeds yes + + +# -- display ------------------------------------------------------------------- + +show-read-feeds yes +feed-sort-order unreadarticlecount-asc + +color info default default reverse +color listnormal_unread yellow default +color listfocus blue default reverse bold +color listfocus_unread blue default reverse bold + +text-width 80 + + +# -- navigation ---------------------------------------------------------------- + +goto-next-feed no + +browser "/usr/bin/brave %u" + +bind-key j down feedlist +bind-key k up feedlist +bind-key j next articlelist +bind-key k prev articlelist +bind-key J next-feed articlelist +bind-key K prev-feed articlelist +bind-key j down article +bind-key k up article + + +# -- bookmarks ----------------------------------------------------------------- + +bookmark-cmd ~/.newsbeuter/bookmark.sh +bookmark-interactive no +bookmark-autopilot yes + + +# -- misc ---------------------------------------------------------------------- + +unbind-key C feedlist +confirm-exit no +cleanup-on-quit no