2021-04-11 23:53:27 +02:00
|
|
|
;;; -*- lexical-binding: t; -*-
|
2020-08-20 18:30:56 +02:00
|
|
|
|
|
|
|
(after! slack
|
|
|
|
(set-face-foreground 'slack-message-output-header +solarized-s-base01)
|
|
|
|
(set-face-attribute 'slack-message-output-header nil :underline nil)
|
|
|
|
(set-face-attribute 'slack-message-output-text nil :height 1.0))
|
|
|
|
|
|
|
|
(require 'slack)
|
|
|
|
(setq slack-buffer-emojify 't
|
|
|
|
slack-prefer-current-team 't
|
|
|
|
slack-thread-also-send-to-room nil)
|
|
|
|
|
|
|
|
(set-popup-rule! "^\\*Slack"
|
|
|
|
:quit nil
|
|
|
|
:select t
|
|
|
|
:side 'bottom
|
|
|
|
:ttl nil
|
2020-08-20 18:50:02 +02:00
|
|
|
:size 0.5)
|
2020-08-20 18:30:56 +02:00
|
|
|
|
|
|
|
(add-hook #'slack-message-buffer-mode-hook
|
|
|
|
(lambda () (toggle-truncate-lines -1)))
|
|
|
|
|
|
|
|
(map! (:map slack-message-buffer-mode-map
|
|
|
|
:n "q" #'delete-window))
|