瀏覽代碼

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. 二進制
      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)

二進制
netrc/.authinfo.gpg