Commit graph

8 commits

Author SHA1 Message Date
e55f3a067d
[bibtex] Add priority filtering to bib-due
Can filter by priority using `-p` option, script will then go down the
list and display only paper of this priority or higher.

For example priority 3 will display 3,2,1 but not those without;
priority 1 will only display 1
2020-05-16 18:39:06 +02:00
c0d88e338a
[bibtex] Fix rofi-bib-due display options
Fixed displaying urgent and non-urgent items. Fixed passing along of
date filters and other options. Fixed using correct library pdf
directory (still hardcoded to pdf subdirectory of $BIBFILE).
2020-05-16 17:35:40 +02:00
5ceb05bbce
[bibtex] Add bib-due script filter options
Added options to bib-due script to pass input file (-i filename.bib), to
display simple help (-h), to specify which field to filter by (-l
fieldname), to specify which values to retain (-r
'values|in|regex|groups'), until which date to show (-u 2020-05-13).

Parsing remains brittle, which makes -l and -r not very useful as of
now; the parser would just get confused with different fields being
present.
2020-05-16 17:35:40 +02:00
62f4fa2f77
[bibtex] Add README for module 2020-05-16 17:35:40 +02:00
f8056ed25a
[bibtex] Add rofi theme
Added theme to rofi making use of dropdown possibility. Will create a
window spanning whole page (or less, depending on how many lines dmenu
command passes on), and dynamically resizing to number of items.
2020-05-16 17:35:40 +02:00
1d80d988b7
[bibtex] Use rofi to show bib-due files 2020-05-16 17:35:39 +02:00
d4774b165c
[bibtex] Refactor bib-due script
Updated script is a little more resilient, and can be used to filter by
and catch various fields, controlled with a static variable at the top
of the file for now. Still brittle, and breaks easily on bibtex file
changes.
2020-05-16 17:35:39 +02:00
4681156a89
[script] Add simple due script for bibtex file
Scrapes a bibtex file for 'due' field, and outputs all found entries
with their priority and sorted for date.
2020-05-16 17:35:34 +02:00