home | urlview is dead, long live urlscan
This commit is contained in:
parent
f7bad4e4b1
commit
45ed668eef
4 changed files with 5 additions and 13 deletions
|
|
@ -21,7 +21,7 @@ alias t=task
|
|||
alias ttoday="task +TODAY or +OVERDUE -BLOCKED"
|
||||
alias ttom="task +OVERDUE or +TOMORROW -BLOCKED"
|
||||
alias to="task list +OVERDUE"
|
||||
alias turl="task nnext | urlview"
|
||||
alias turl="task nnext | urlscan -c -d"
|
||||
alias tfollow="task list +followup"
|
||||
alias tnext="task list +nextactions"
|
||||
alias open=xdg-open
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
display-article-progress yes
|
||||
download-full-page yes
|
||||
error-log "~/.config/newsboat/error.log"
|
||||
external-url-viewer "urlview"
|
||||
external-url-viewer "urlscan -c -d"
|
||||
feed-sort-order firsttag
|
||||
freshrss-login "don"
|
||||
freshrss-password "Qz77ALbnEl*I2!%QZhs9K"
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@
|
|||
ps_mem
|
||||
psmisc
|
||||
ranger
|
||||
socat
|
||||
sqlite
|
||||
syncthing
|
||||
tailscale
|
||||
|
|
@ -71,7 +72,7 @@
|
|||
tut
|
||||
units
|
||||
unzip
|
||||
urlview
|
||||
urlscan
|
||||
vdirsyncer
|
||||
vlock
|
||||
wget
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
pkgs.tmuxPlugins.continuum
|
||||
pkgs.tmuxPlugins.battery
|
||||
pkgs.tmuxPlugins.cpu
|
||||
pkgs.tmuxPlugins.urlview
|
||||
pkgs.tmuxPlugins.vim-tmux-navigator
|
||||
{
|
||||
plugin = pkgs.tmuxPlugins.online-status;
|
||||
|
|
@ -109,7 +108,7 @@
|
|||
bind -n S-right next
|
||||
bind -n C-left swap-window -t -1
|
||||
bind -n C-right swap-window -t +1
|
||||
bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; new-window -n "urlview" '$SHELL -c "urlview < /tmp/tmux-buffer"'
|
||||
bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; new-window -n "urlscan" '$SHELL -c "urlscan -c -d < /tmp/tmux-buffer"'
|
||||
bind C-i neww -n khal "exec ikhal"
|
||||
bind K split-window -h "exec ikhal"
|
||||
bind C-t neww -n vit "exec vit"
|
||||
|
|
@ -144,13 +143,5 @@
|
|||
test:-cs all -cs vm
|
||||
'';
|
||||
};
|
||||
urlview = {
|
||||
enable = true;
|
||||
target = ".urlview";
|
||||
text = ''
|
||||
REGEXP (((http|https|ftp|obsidian)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
|
||||
COMMAND ${pkgs.bash}/bin/bash myweb %s
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue