diff --git a/polybar/usr/bin/inbox-size b/polybar/usr/bin/inbox-size index 0422aba..113715a 100755 --- a/polybar/usr/bin/inbox-size +++ b/polybar/usr/bin/inbox-size @@ -1,6 +1,8 @@ -#!/usr/bin/env -S scsh -s -;; # -*- mode: scheme; -*- +#!/usr/bin/env sh +# -*- mode: scheme; -*- +IFS=" " +exec scsh -s "$0" "$@" !# -(display (run (emacs --quick --batch --visit ~/documents/gtd/inbox.org - --eval "(princ (how-many \"^\\\\* +\"))"))) +(run (emacs --quick --batch --visit ~/documents/gtd/inbox.org + --eval "(princ (how-many (rx bol \"*\" (one-or-more space))))"))