From ce4473bf9f2fac8c73d207275893fbe3ae970f0a Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 16 May 2020 19:07:01 +0200 Subject: [PATCH] [polybar] Remove papersdue script date invocation Removed unnecessary invocations of date util, since it will be invoked by the actual running script anyways. --- polybar/.config/polybar/scripts/poly-papersdue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polybar/.config/polybar/scripts/poly-papersdue b/polybar/.config/polybar/scripts/poly-papersdue index 51b91b7..e1cbc85 100755 --- a/polybar/.config/polybar/scripts/poly-papersdue +++ b/polybar/.config/polybar/scripts/poly-papersdue @@ -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