From af9147ce594db89bf8417f7083e5ebe963c1c3ef Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Mon, 5 Feb 2024 00:06:12 +0700 Subject: [PATCH] feat: support newsboat --- README.md | 1 + data/data.toml | 16 ++++++++++++++++ data/kitty/kitty.conf | 2 +- data/newsboat/config | 1 + data/newsboat/dark | 18 ++++++++++++++++++ data/newsboat/urls | 21 +++++++++++++++++++++ 6 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 data/newsboat/config create mode 100644 data/newsboat/dark create mode 100644 data/newsboat/urls diff --git a/README.md b/README.md index 7a12045..962c265 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,4 @@ go build ./cmd/dot - [powerlevel10k](https://github.com/romkatv/powerlevel10k) - [pokeget](https://github.com/talwat/pokeget-rs) - [btop](https://github.com/aristocratos/btop) +- [newsboat](https://github.com/newsboat/newsboat) diff --git a/data/data.toml b/data/data.toml index 32fb6f5..c7de838 100644 --- a/data/data.toml +++ b/data/data.toml @@ -85,3 +85,19 @@ external = "~/.config/btop/themes" [[apps.btop.paths]] internal = "data/btop/themes/catppuccin_mocha.theme" url = "https://raw.githubusercontent.com/catppuccin/btop/main/themes/catppuccin_mocha.theme" + +[[apps.newsboat.paths]] +internal = "data/newsboat/config" +external = "~/.newsboat/config" + +[[apps.newsboat.paths]] +internal = "data/newsboat/urls" +external = "~/.newsboat/urls" + +[[apps.newsboat.paths]] +internal = "data/newsboat/dark" +external = "~/.newsboat/dark" + +[[apps.newsboat.paths]] +internal = "data/newsboat/dark" +urk = "https://raw.githubusercontent.com/catppuccin/newsboat/main/themes/dark" diff --git a/data/kitty/kitty.conf b/data/kitty/kitty.conf index 255a848..9a46a28 100644 --- a/data/kitty/kitty.conf +++ b/data/kitty/kitty.conf @@ -6,7 +6,7 @@ include mocha.conf font_family 0xProto bold_font IBM Plex Mono Bold italic_font Victor Mono Italic -bold_italic_font IBM Plex Mono Bold Italic +bold_italic_font Victor Mono Bold Italic font_size 14.0 # https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points diff --git a/data/newsboat/config b/data/newsboat/config new file mode 100644 index 0000000..ba17edc --- /dev/null +++ b/data/newsboat/config @@ -0,0 +1 @@ +include ~/.newsboat/dark diff --git a/data/newsboat/dark b/data/newsboat/dark new file mode 100644 index 0000000..ac57e94 --- /dev/null +++ b/data/newsboat/dark @@ -0,0 +1,18 @@ +color listnormal color15 default +color listnormal_unread color2 default +color listfocus_unread color2 color0 +color listfocus default color0 +color background default default +color article default default +color end-of-text-marker color8 default +color info color4 color8 +color hint-separator default color8 +color hint-description default color8 +color title color14 color8 + +highlight article "^(Feed|Title|Author|Link|Date): .+" color4 default bold +highlight article "^(Feed|Title|Author|Link|Date):" color14 default bold + +highlight article "\\((link|image|video)\\)" color8 default +highlight article "https?://[^ ]+" color4 default +highlight article "\[[0-9]+\]" color6 default bold diff --git a/data/newsboat/urls b/data/newsboat/urls new file mode 100644 index 0000000..6ff4dc3 --- /dev/null +++ b/data/newsboat/urls @@ -0,0 +1,21 @@ +https://github.com/golang/go/commits/master.atom +https://github.com/golang/tools/commits/master.atom + +https://github.com/IBM/sarama/commits/main.atom +https://github.com/gin-gonic/gin/commits/master.atom +https://github.com/go-sql-driver/mysql/commits/master.atom +https://github.com/minio/minio-go/commits/master.atom +https://github.com/redis/go-redis/commits/master.atom +https://github.com/redis/rueidis/commits/main.atom +https://github.com/sourcegraph/conc/commits/main.atom + +https://github.com/caksoylar/keymap-drawer/commits/main.atom +https://github.com/qmk/qmk_firmware/commits/develop.atom +https://github.com/qmk/qmk_firmware/commits/master.atom + +https://github.com/0xType/0xProto/commits/main.atom +https://github.com/JetBrains/JetBrainsMono/commits/master.atom +https://github.com/arrowtype/recursive/commits/main.atom +https://github.com/arrowtype/shantell-sans/commits/main.atom +https://github.com/jenskutilek/sudo-font/commits/master.atom +https://github.com/rsms/inter/commits/master.atom