diff options
author | bd <bdunahu@operationnull.com> | 2024-12-20 23:54:47 -0500 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2024-12-20 23:54:47 -0500 |
commit | 8c56be82235e4112210b7990ca4dd1f761fa1401 (patch) | |
tree | 22456ec8840dbf2952229d63d8ad6a97076192c6 /.config/emacs/modules/bd--buffers.el | |
parent | c579503b13bac147e22952a5c0a42ace264e60b6 (diff) |
switch back to setopt rather than custom
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)) |