[bibtex] Use rofi to show bib-due files

This commit is contained in:
Marty Oehme 2020-05-11 16:37:05 +02:00
parent d4774b165c
commit 1d80d988b7
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A
2 changed files with 33 additions and 2 deletions

View file

@ -224,9 +224,9 @@ click-right = kill -USR2 %pid%
; display information on remaining papers to read for the upcoming week
[module/papersdue]
type = custom/script
exec = bib-due $BIBFILE | wc -l
exec = bib-due | wc -l
exec-if = type bib-due
click-left = tdrop -w "15%" -h $(echo "$(bib-due $BIBFILE | wc -l) * 25" | bc ) -x "45%" -y "15" -ma alacritty -e watch -t bib-due $BIBFILE
click-left = exist rofi-bib-due normal && rofi-bib-due
format-foreground = ${colors.primary}
format-prefix = ""
interval = 120