Add mgr-gitlab

This commit is contained in:
2022-03-22 22:58:05 -04:00
parent 9e6e0c0969
commit 0c0bb939e5
3 changed files with 113 additions and 2 deletions

View File

@@ -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))))