tvl-depot/users/glittershark/emacs.d/slack.el
Griffin Smith 8c91d04834 refactor(gs/emacs): Make slack popups take up half the window
Only having a third has left me feeling like I need a little more space.

Change-Id: I9424ec8bf2eeb55a62f21dd72b5ee6251670b0b4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1800
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
2020-08-20 19:05:11 +00:00

24 lines
695 B
EmacsLisp

;;; ~/code/depot/users/glittershark/emacs.d/slack.el -*- 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))