remove notnow, better newsboat, amfora => offpunk

This commit is contained in:
Kujiu 2023-10-19 03:47:28 +02:00
parent ebf8ce56dc
commit 9f18f0daa6
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
8 changed files with 49 additions and 155 deletions

View file

@ -18,6 +18,7 @@ Some configurations for these tools:
- toot (Mastodon client)
- neovim (with lunarvim)
- nvimpager (pager based on neovim)
- offpunk
- konsole
- elinks and browsh
- tmux and tmuxinator
@ -79,8 +80,8 @@ You need to install:
- espup (but installed by script on debian)
- lazydocker (but installed by script on debian)
- lazygit (but installed by script on debian)
- notnow (but installed by script on debian)
- nvimpager (but installed by script on debian)
- offpunk (but installed by script on debian)
- onefetch (but installed by script on debian)
- pastel (but installed by script on debian)
- pms - recent version in go (but installed by script on debian)
@ -88,5 +89,6 @@ You need to install:
- poezio-plugins (but installed by script on debian)
- pyright (but installed by script on debian)
- starship (but installed by script on debian)
- todoman (but installed by script on debian)
- virtualfish (but installed by script on debian)
- wthrr (but installed by script on debian)

View file

@ -149,12 +149,6 @@ function update-homes -d "Update homes configuration"
echo
cargo install pastel
echo
echo
echo (set_color 719cd6)"*** Install notnow ***"(set_color normal)
echo
cargo install notnow
echo
echo
echo (set_color 719cd6)"*** Install cargo-espflash, espflash and espup ***"(set_color normal)
@ -167,12 +161,24 @@ function update-homes -d "Update homes configuration"
echo
cargo install wthrr
echo
echo
echo (set_color 719cd6)"*** Install offpunk ***"(set_color normal)
echo
pip install --user --upgrade --break-system-packages -U offpunk
echo
echo
echo (set_color 719cd6)"*** Install poezio-omemo and epr ***"(set_color normal)
echo
pip install --user --upgrade --break-system-packages -U poezio-omemo epr-reader
echo
echo
echo (set_color 719cd6)"*** Install todoman ***"(set_color normal)
echo
pip install --user --upgrade --break-system-packages -U todoman click-repl
echo
echo
echo (set_color 719cd6)"*** Install poezio plugins ***"(set_color normal)

View file

@ -1,5 +1,5 @@
text/html; TERM=tmux-direct elinks %s -dump -config-dir ~/.elinks; nametemplate=%s.html; copiousoutput
text/gemini; amfora %s; needsterminal
text/gemini; offpunk %s; needsterminal
image/*; TERM=tmux-direct timg -pk %s; needsterminal
application/x-gunzip; gzcat; copiousoutput
application/x-tar-gz; gunzip -c %s | tar -tf - ; copiousoutput

View file

@ -516,7 +516,7 @@ application/pdf=pdftotext -stdout -
# Examples:
# x-scheme-handler/irc=hexchat
x-scheme-handler/http*=elinks
x-scheme-handler/gemini=amfora
x-scheme-handler/gemini=offpunk
# text/html=surf -dfgms
text/plain=nvim "{}" +125
text/calendar=khal -i import "{}"

View file

@ -9,13 +9,32 @@
color background color145 default
color listnormal color145 default
color listfocus color80 color59 bold
color listnormal_unread color108 default
color listfocus_unread color215 color59 bold
color listnormal_unread color39 default
color listfocus_unread default color59 bold
color info color39 color237 bold
color article color145 default
color end-of-text-marker color140 default
color end-of-text-marker color111 default
color title color39 color237 bold
color hint-key color180 color237
color hint-keys-delimiter color39 color237
color hint-separator color39 color237
color hint-description color39 color237
# highlight all "newsboat" red
highlight article "^Fil : .*$" color180 default bold
highlight article "^Feed: .*$" color180 default bold
highlight article "^Titre : .*$" color215 default bold
highlight article "^Title: .*$" color215 default bold
highlight article "^Date : .*$" color108 default
highlight article "^Date: .*$" color108 default
highlight article "^Lien : .*$" color39 default
highlight article "^Link: .*$" color39 default
highlight article "^Auteur : .*$" color80 default
highlight article "^Author: .*$" color80 default
highlight article "[a-z]+://[^[:space:]]+" color39 default underline
highlight-feed "unread_count > 100" color167 default
highlight-feed "unread_count > 50" color215 default
highlight-feed "unread_count > 20" color222 default
highlight-feed "unread_count > 10" color115 default
highlight-feed "unread_count > 5" color108 default

View file

@ -898,8 +898,8 @@ include "~/.config/newsboat/colors.conf"
# macro k open; reload; quit +--+ "enter feed to reload it"
macro f set browser "firefox %u"; open-in-browser; set browser "elinks %u";
macro g set browser "amfora %u"; open-in-browser; set browser "elinks %u";
macro g set browser "offpunk %u"; open-in-browser; set browser "elinks %u";
macro p set browser "echo %u >> ~/.local/share/newsboat/queue"; open-in-browser; set browser "elinks %u";
#### mark-as-read-on-hover
#
@ -1389,7 +1389,9 @@ macro g set browser "amfora %u"; open-in-browser; set browser "elinks %u";
# podcast-auto-enqueue yes
#
player "mpv"
download-path "~/Audio/%h/%n"
download-path "~/Audio/%n"
podlist-format "%4i %b [%-5p %%] %-12S"
download-filename-format "%Y%H%M-%t.%e"
#### prepopulate-query-feeds
#

View file

@ -1,140 +0,0 @@
{
"colors": {
"more_tasks_fg": [
0,
0,
0
],
"more_tasks_bg": [
0,
215,
0
],
"selected_tab_fg": [
255,
255,
255
],
"selected_tab_bg": [
88,
88,
88
],
"unselected_tab_fg": [
255,
255,
255
],
"unselected_tab_bg": [
38,
38,
38
],
"unselected_task_fg": [
0,
0,
0
],
"unselected_task_bg": "reset",
"selected_task_fg": [
255,
255,
255
],
"selected_task_bg": [
88,
88,
88
],
"task_not_started_fg": [
254,
13,
12
],
"task_not_started_bg": "reset",
"task_done_fg": [
0,
215,
0
],
"task_done_bg": "reset",
"dialog_bg": [
218,
218,
218
],
"dialog_fg": [
0,
0,
0
],
"dialog_selected_tag_fg": [
255,
255,
255
],
"dialog_selected_tag_bg": [
88,
88,
88
],
"dialog_tag_set_fg": [
0,
215,
0
],
"dialog_tag_set_bg": [
218,
218,
218
],
"dialog_tag_unset_fg": [
254,
13,
12
],
"dialog_tag_unset_bg": [
218,
218,
218
],
"in_out_success_fg": [
0,
0,
0
],
"in_out_success_bg": [
0,
215,
0
],
"in_out_status_fg": [
255,
255,
255
],
"in_out_status_bg": [
0,
0,
0
],
"in_out_error_fg": [
0,
0,
0
],
"in_out_error_bg": [
255,
0,
0
],
"in_out_string_fg": "reset",
"in_out_string_bg": "reset"
},
"views": [
{
"name": "all",
"lits": []
}
]
}

View file

@ -0,0 +1,5 @@
# A glob expression which matches all directories relevant.
path = "~/.local/share/calendars/*/*"
date_format = "%d-%m-%Y"
time_format = "%H:%M"
default_due = 168