Add newsboat keybinds and config

This commit is contained in:
Alexis Jhon Gaspar 2023-10-13 21:38:43 +08:00
parent a56d640731
commit 13feb1fa5a
4 changed files with 25 additions and 1 deletions

View file

@ -31,6 +31,7 @@ This was designed to save me some sanity in maintaining it as well as easily int
- dunst (notification daemon)
- jgmenu (floating stdin/stdout menu utility)
- spmenu (dmenu alternative)
- newsboat (rss/atom feed reader)
## Notes
@ -46,7 +47,9 @@ The weather widget is pretty barebones as of now. Report bugs if found.
### Configuration notes
The bare essentials of my dotfiles are located in the `config` directory. This includes `spmenu`, `picom`, `ncmpcppp`, `neofetch`, `broot`, and `wal`.
The bare essentials of my dotfiles are located in the `config` directory. This includes `spmenu`, `picom`, `ncmpcppp`, `neofetch`, `broot`, `newsboat`, and `wal`.
Newsboat config also include preset urls.
### Compatibility notes

17
config/newsboat/config Normal file
View file

@ -0,0 +1,17 @@
browser "firefox"
player "mpv"
download-path "~/Downloads/%n"
save-path "~/Downloads"
reload-threads 20
cleanup-on-quit yes
text-width 74
auto-reload yes
bind-key q home
bind-key j down
bind-key k up
bind-key Q quit
bind-key e end
macro y set browser "mpv %u" ; open-in-browser ; set browser "firefox %u"
macro , set browser "firefox %u"; open-in-browser

3
config/newsboat/urls Normal file
View file

@ -0,0 +1,3 @@
https://reddit.com/r/unixporn.rss
https://reddit.com/r/linux.rss
https://alexisgaming95.neocities.org/feed.xml

View file

@ -952,6 +952,7 @@ static const Key keys[] = {
{ Mod4Mask, XK_e, spawn, SHCMD("st -T broot broot") },
{ Mod4Mask|ShiftMask, XK_e, spawn, SHCMD("st -T sfm sfm") },
{ Mod4Mask, XK_a, spawn, SHCMD("st -T ncmpcpp ncmpcpp") },
{ Mod4Mask, XK_b, spawn, SHCMD("st -T newsboat newsboat") },
{ Mod4Mask|ShiftMask, XK_t, spawn, SHCMD("st -T dvtm abduco -c dvtm dvtm-status") },
{ Mod4Mask, XK_w, spawn, SHCMD("eww open --toggle main") },
{ Mod4Mask, XK_p, spawn, SHCMD("nsxiv ~/Pictures") },