aboutsummaryrefslogtreecommitdiff
path: root/doom.d/config.org
diff options
context:
space:
mode:
authorA. Chavali <aryadevchavali1@gmail.com>2019-12-20 19:59:25 +0000
committerA. Chavali <aryadevchavali1@gmail.com>2019-12-20 20:10:39 +0000
commita39942ef1f3365d302a716e6970cb3dfd95fe0be (patch)
tree0c38ad542a5ad7eafabcd92f6a3fdea72e815169 /doom.d/config.org
parent601f737a42a6667438a2c0f727e1b5c076430e95 (diff)
downloaddotfiles-a39942ef1f3365d302a716e6970cb3dfd95fe0be.tar.gz
dotfiles-a39942ef1f3365d302a716e6970cb3dfd95fe0be.tar.bz2
dotfiles-a39942ef1f3365d302a716e6970cb3dfd95fe0be.zip
~made wakatime a config package, not a module
Wakatime is so easy to configure there's basically no point to it being a module. Thus, I ported it to the config.
Diffstat (limited to 'doom.d/config.org')
-rw-r--r--doom.d/config.org10
1 files changed, 8 insertions, 2 deletions
diff --git a/doom.d/config.org b/doom.d/config.org
index b69aa8d..ca6b03d 100644
--- a/doom.d/config.org
+++ b/doom.d/config.org
@@ -160,9 +160,15 @@ A keybind and a routine
** Wakatime
#+BEGIN_SRC elisp
-(setq wakatime-api-key (shell-command-to-string "pass Keys/Wakatime"))
+(use-package! wakatime-mode
+ :after-call pre-command-hook
+ :config
+ (setq wakatime-cli-path (expand-file-name "~/.local/bin/wakatime"))
+ (setq wakatime-api-key (replace-regexp-in-string "\n" "" (shell-command-to-string "pass Keys/Wakatime")))
+ (global-wakatime-mode +1))
#+END_SRC
-Using new password holder (pass) to help with secure transactions.
+Using new password holder (pass) to help with secure transactions. Doing all
+other stuff as well, cos Henrik may remove the Wakatime module.
** Elfeed
#+BEGIN_SRC elisp
(after! elfeed