Add mgr-gitlab
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
;; Place your private configuration here! Remember, you do not need to run 'doom
|
||||
;; sync' after modifying this file!
|
||||
|
||||
|
||||
;; Some functionality uses this to identify you, e.g. GPG configuration, email
|
||||
;; clients, file templates and snippets.
|
||||
(setq user-full-name "Max Regan"
|
||||
@@ -63,3 +62,18 @@
|
||||
(after! counsel
|
||||
(ivy-rich-mode 1)
|
||||
(all-the-icons-ivy-rich-mode 1))
|
||||
|
||||
(use-package! mgr-gitlab
|
||||
:load-path "~/.doom.d/lisp/mgr-gitlab"
|
||||
:config
|
||||
(setq gitlab-host "gitlab.maxregan.me"
|
||||
gitlab-token-id (if (file-exists-p mgr-gitlab-token-file)
|
||||
(with-temp-buffer
|
||||
(insert-file-contents mgr-gitlab-token-file)
|
||||
(string-trim (buffer-string)))
|
||||
nil)
|
||||
dashboard-projects-backend 'projectile
|
||||
dashboard-items '((mgr-gitlab-gitlab-projects . 10)
|
||||
(recents . 5)
|
||||
(agenda . 5)
|
||||
(projects . 5))))
|
||||
|
||||
Reference in New Issue
Block a user