summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnosis-dashboard.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnosis-dashboard.el b/gnosis-dashboard.el
index 103d36b..a25fe81 100644
--- a/gnosis-dashboard.el
+++ b/gnosis-dashboard.el
@@ -112,6 +112,12 @@ Skips days where no note was reviewed."
(propertize string 'face 'font-lock-constant-face))))
(defun gnosis-dashboard-reviews-graph (dates &optional remove-spaces)
+(defun gnosis-dashboard--add-padding (str-length)
+ "Add padding for STR-LENGTH."
+ (let ((padding (/ (- (window-width) str-length) 2)))
+ (make-string padding ?\s)))
+
+(defun gnosis-dashboard-reviews-graph (dates &optional )
"Insert graph for month DATES.
Optionally, use REMOVE-SPACES when using multiple months."