scripts: Rename reader, Fix listing, Add sxhkd bind
Renamed general reader script to `wallr`, indicating wallabag as the underlying reader input. Fixed listing of unread articles which showed read articles before. Added shortcuts to sxhkd's academia mode: the existing `r` invokes wallr with unread article display; newly added `shift+r` invokes wallr with all articles displayed.
This commit is contained in:
parent
5ca27e5fd5
commit
c12eed218f
2 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
# Read
|
||||
# Read wallabag articles from the commandline
|
||||
# extended version of one-liner script to read wallabag articles in shell
|
||||
# "wallabag list -n | head -n-1 | tail -n+2 | fzf | sed -e 's/^ //' | cut -f1 -d' ' | xargs wallabag show | ifne less"
|
||||
|
||||
|
@ -102,7 +102,7 @@ while getopts "h?qnorse" opt; do
|
|||
# v) verbose=1
|
||||
# ;;
|
||||
n)
|
||||
WALLR_FILTER="new"
|
||||
WALLR_FILTER="unread"
|
||||
;;
|
||||
r)
|
||||
WALLR_FILTER="read"
|
|
@ -84,6 +84,6 @@ alt + a : shift + {F1,F2}
|
|||
rofi-bib-due -p{1,3}
|
||||
alt + a : F3
|
||||
rofi-bib-due
|
||||
|
||||
alt + a : r
|
||||
alacritty --class floating,floating -e reader -n
|
||||
# read wallabag articles from the cmdline
|
||||
alt + a : {r, shift+r}
|
||||
alacritty --class floating,floating -e wallr {-n,_}
|
||||
|
|
Loading…
Reference in a new issue