aboutsummaryrefslogtreecommitdiff
path: root/doom.d/config.org
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2019-12-30 14:43:18 +0000
committerAChavali <aryadevchavali1@gmail.com>2019-12-30 14:52:18 +0000
commit52359546dedec7da88132c84939218db746e6cba (patch)
tree3ee6d09e959b6e6870efa0db88bbd4b838b7bb5f /doom.d/config.org
parent049a68cde1599827aa2b8d62709bf9e3507130f3 (diff)
downloaddotfiles-52359546dedec7da88132c84939218db746e6cba.tar.gz
dotfiles-52359546dedec7da88132c84939218db746e6cba.tar.bz2
dotfiles-52359546dedec7da88132c84939218db746e6cba.zip
~use password-store instead of shell for Wakatime
Wakatime key is stored in the password store, use the password module instead of a shell command to get the key
Diffstat (limited to 'doom.d/config.org')
-rw-r--r--doom.d/config.org6
1 files changed, 2 insertions, 4 deletions
diff --git a/doom.d/config.org b/doom.d/config.org
index b133af9..a147bc8 100644
--- a/doom.d/config.org
+++ b/doom.d/config.org
@@ -154,11 +154,9 @@ A keybind and a routine
** Wakatime
#+BEGIN_SRC elisp
-(use-package! wakatime-mode
- :after-call pre-command-hook
- :config
+(after! wakatime-mode
(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")))
+ (setq wakatime-api-key (password-store-get "Keys/Wakatime"))
(global-wakatime-mode +1))
#+END_SRC
Using new password holder (pass) to help with secure transactions. Doing all