[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:
parent
db871e3751
commit
ce4473bf9f
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
all="$(bib-due -u "$(date --date='fri this week' +%Y-%m-%d)" | wc -l)"
|
all="$(bib-due -u 'fri this week' | wc -l)"
|
||||||
required="$(bib-due -u "$(date --date='fri this week' +%Y-%m-%d)" -p1 | wc -l)"
|
required="$(bib-due -u 'fri this week' -p1 | wc -l)"
|
||||||
|
|
||||||
# add polybar formatting to color required readings red
|
# add polybar formatting to color required readings red
|
||||||
# https://github.com/polybar/polybar/wiki/Formatting#format-tags
|
# https://github.com/polybar/polybar/wiki/Formatting#format-tags
|
||||||
|
|
Loading…
Reference in a new issue