[polybar] Remove papersdue script date invocation

Removed unnecessary invocations of date util, since it will be invoked
by the actual running script anyways.
This commit is contained in:
Marty Oehme 2020-05-16 19:07:01 +02:00
parent db871e3751
commit ce4473bf9f
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A

View file

@ -1,8 +1,8 @@
#!/usr/bin/env sh
while true; do
all="$(bib-due -u "$(date --date='fri this week' +%Y-%m-%d)" | wc -l)"
required="$(bib-due -u "$(date --date='fri this week' +%Y-%m-%d)" -p1 | wc -l)"
all="$(bib-due -u 'fri this week' | wc -l)"
required="$(bib-due -u 'fri this week' -p1 | wc -l)"
# add polybar formatting to color required readings red
# https://github.com/polybar/polybar/wiki/Formatting#format-tags