Recently Written · git

timeclock

Spacemacs layer for tracking your time.

git clone https://github.com/equwal/timeclock

Log | Files | Refs


commit be6d4e14b214bff3b5339d0330c3f86501b7af93
Spenser Truex <spensertruexonline@gmail.com>
2019-09-13 16:01:35 -0700

Quotations.

 README.org     | 18 ++++++++----------
 keybindings.el |  4 +++-
 packages.el    |  2 +-
 3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/README.org b/README.org
index 57892f0..1a765d2 100644
--- a/README.org
+++ b/README.org
@@ -3,16 +3,14 @@
 # The maximum height of the logo should be 200 pixels.
 [[timetimeclockclocktime.png]]
 
-#+BEGIN_QUOTE
-Time: Time time, clock; time time clock: time?
-
-Clock: Timeclock time clocktime!
-
-*Timeclock clock clock*
-
-Timeclock: 6:30 Clock!?!??
-#+END_QUOTE
-
+#+BEGIN_SRC
+Those who fail to plan plan to fail.
+#+END_SRC
+--My uncle
+#+BEGIN_SRC
+Those who fail to manage their time fail to plan.
+#+END_SRC
+--Author
 * Table of Contents                                        :TOC_4_gh:noexport:
 - [[#description][Description]]
 - [[#key-bindings][Key bindings]]
diff --git a/keybindings.el b/keybindings.el
index 1e0f820..42ce36e 100644
--- a/keybindings.el
+++ b/keybindings.el
@@ -1,6 +1,8 @@
 (defvar timeclock-log-dirs '(("g" "~/.emacs.d/private/timelogs/gsp-log")
                              ("p" "~/.emacs.d/private/timelogs/private-log")))
-(defvar timeclock-in-dir timeclock-file)
+(defvar timeclock-in-dir (if (boundp 'timeclock-file)
+                             timeclock-file
+                           (setf timeclock-file (cadar timeclock-log-dirs))))
 (defvar timeclock-temp-file timeclock-file)
 (defun timeclock-in-selector ()
   (interactive)
diff --git a/packages.el b/packages.el
index 7c8e4d5..d8b5fa7 100644
--- a/packages.el
+++ b/packages.el
@@ -30,7 +30,7 @@
 ;;; Code:
 
 (defconst timeclock-packages
-  '()
+  '(timeclock)
   "The list of Lisp packages required by the timeclock layer.
 
 Each entry is either: