From ec33b64d2b11f67be7f47dcae021440514597e12 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 21 Nov 2019 12:47:52 -0500 Subject: [PATCH] Set up Slack client --- emacs/init.org | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index 8e9d1c3..b5a1410 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2923,22 +2923,28 @@ becomes: (use-package slack :commands (slack-start) :init - (setq slack-buffer-emojify nil) + (setq slack-buffer-emojify t) (setq slack-prefer-current-team t) :config (slack-register-team - :name "hubspot" + :name "lolatravel" :default t - :client-id "2152023175.242841693617" - :client-secret "5a753800968d3a9727ccb83b470db696" - :token "xoxp-2152023175-199371301809-242880891761-652436eeff14e6e9d083a131ed0eedb4" - :subscribed-channels '(automation-platform - support-workflow - workflow-extensions - workflows - workflows-alerts - workflows-backend - workflows-yt) + ;; :client-id "2400384563.846406584294" + ;; :client-secret "31d7bb557aebc773ef26fb53b0f3caf5" + :token "xoxs-2400384563-531653313251-753670261511-dd9fd44b4755430caf78045af40361d9a2bf46d8a5392f09ea1b6f3c6db0b545" + ;; :token "xoxp-2400384563-531653313251-844227895840-6bd114a9d3d8642116f0a1d50675fa43" + :subscribed-channels '(1-1-2020 + backend + booking-team-backend + critical-bugs + dev + devops + frontend + search-and-book + smash + southwest + work + not-work) :full-and-display-names t) :general ('normal slack-info-mode-map ",u" #'slack-room-update-messages) @@ -2966,10 +2972,12 @@ becomes: #+END_SRC #+BEGIN_SRC emacs-lisp -;; (use-package alert -;; :commands (alert) -;; :init -;; (setq alert-default-style (jdormit-get-mu4e-alert-style))) + (use-package alert + :commands (alert) + :init + (setq alert-default-style (if (eq system-type 'darwin) + 'osx-notifier + 'libnotify))) #+END_SRC * Matrix