diff options
Diffstat (limited to '.config/emacs/modules/bd--buffers.el')
-rw-r--r-- | .config/emacs/modules/bd--buffers.el | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/.config/emacs/modules/bd--buffers.el b/.config/emacs/modules/bd--buffers.el index a8e3cbe..986a932 100644 --- a/.config/emacs/modules/bd--buffers.el +++ b/.config/emacs/modules/bd--buffers.el @@ -8,30 +8,28 @@ (use-package autorevert :init (global-auto-revert-mode) - :custom - (global-auto-revert-non-file-buffers t) - (auto-revert-interval 30)) + :config + (setopt global-auto-revert-non-file-buffers t + auto-revert-interval 30)) (use-package shackle :demand t :config (shackle-mode) - :custom - (switch-to-buffer-obey-display-actions t) - (shackle-rules '( - ;; native - (compilation-mode :select nil :align bottom :size 0.2) - (completion-list-mode :select nil :align bottom :size 0.1) - ("^\\*Async Shell Command\\*.*$" :regexp t :ignore t) - ;; magit - (magit-status-mode :select t :align bottom :size 0.3) - (magit-diff-mode :select nil :align right :size 0.3) - ;; emms - (emms-playlist-mode :select t :align left :size 0.2) - ))) - + (setopt switch-to-buffer-obey-display-actions t + shackle-rules + '( + ;; native + (compilation-mode :select nil :align bottom :size 0.2) + (completion-list-mode :select nil :align bottom :size 0.1) + ("^\\*Async Shell Command\\*.*$" :regexp t :ignore t) + ;; magit + (magit-status-mode :select t :align bottom :size 0.3) + (magit-diff-mode :select nil :align right :size 0.3) + ;; emms + (emms-playlist-mode :select t :align left :size 0.2) + ))) -(add-to-list 'default-frame-alist '(alpha . (92 . 92))) (defun bd/layout--do-with-haste (f) (let* ((args (transient-args 'bd/layout-dispatcher)) |