feat: support newsboat

main
sudo pacman -Syu 2024-02-05 00:06:12 +07:00
parent 4fbcf7c5e3
commit af9147ce59
6 changed files with 58 additions and 1 deletions

View File

@ -39,3 +39,4 @@ go build ./cmd/dot
- [powerlevel10k](https://github.com/romkatv/powerlevel10k) - [powerlevel10k](https://github.com/romkatv/powerlevel10k)
- [pokeget](https://github.com/talwat/pokeget-rs) - [pokeget](https://github.com/talwat/pokeget-rs)
- [btop](https://github.com/aristocratos/btop) - [btop](https://github.com/aristocratos/btop)
- [newsboat](https://github.com/newsboat/newsboat)

View File

@ -85,3 +85,19 @@ external = "~/.config/btop/themes"
[[apps.btop.paths]] [[apps.btop.paths]]
internal = "data/btop/themes/catppuccin_mocha.theme" internal = "data/btop/themes/catppuccin_mocha.theme"
url = "https://raw.githubusercontent.com/catppuccin/btop/main/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"

View File

@ -6,7 +6,7 @@ include mocha.conf
font_family 0xProto font_family 0xProto
bold_font IBM Plex Mono Bold bold_font IBM Plex Mono Bold
italic_font Victor Mono Italic italic_font Victor Mono Italic
bold_italic_font IBM Plex Mono Bold Italic bold_italic_font Victor Mono Bold Italic
font_size 14.0 font_size 14.0
# https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points # https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points

1
data/newsboat/config Normal file
View File

@ -0,0 +1 @@
include ~/.newsboat/dark

18
data/newsboat/dark Normal file
View File

@ -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

21
data/newsboat/urls Normal file
View File

@ -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