소스 검색

Add slack to #emacs

Colin Powell 5 년 전
부모
커밋
06e27d2b60
3개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      emacs/.config/doom/config.org
  2. 3 0
      emacs/.config/doom/packages.el
  3. BIN
      netrc/.authinfo.gpg

+ 9 - 0
emacs/.config/doom/config.org

@@ -399,6 +399,15 @@ There's gotta be a way to get the token out of password-store for this.
         :desc "Update Mastodon timeline"     "u" #'mastodon-tl--update
         :desc "Toot to Mastodon"             "t" #'mastodon-toot))
 #+END_SRC
+* Slack
+#+BEGIN_SRC emacs-lisp
+(slack-register-team
+ :name "15five"
+ :token (auth-source-pick-first-password
+         :host "15five.slack.com"
+         :user "colin.powell@15five.com")
+ :subscribed-channels '((squad-admin water-cooler)))
+#+END_SRC
 * Beancount
 Use Emacs and plain text files for your accounting!
 

+ 3 - 0
emacs/.config/doom/packages.el

@@ -37,6 +37,9 @@
 ;; weather?
 (package! wttrin)
 
+;; slack ... okay one more time
+(package! slack)
+
 ;; org stuffs
 (package! ob-http)
 (package! org-web-tools)

BIN
netrc/.authinfo.gpg