tvl-depot/users/aspen/emacs.d/slack.el
Aspen Smith 82ecd61f5c chore(users): grfn -> aspen
Change-Id: I6c6847fac56f0a9a1a2209792e00a3aec5e672b9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10809
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
2024-02-14 19:37:41 +00:00

24 lines
646 B
EmacsLisp

;;; -*- lexical-binding: t; -*-
(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
:size 0.5)
(add-hook #'slack-message-buffer-mode-hook
(lambda () (toggle-truncate-lines -1)))
(map! (:map slack-message-buffer-mode-map
:n "q" #'delete-window))