💥 Change set-popup-rule! usage
Now accepts a flat plist of all its former parameters, including new :parameters and :actions properties to increase your control over the fate of your windows. The old usage of set-popup-rule! is deprecated and may not work right! The :ui popup module has also seen a major refactor to improve efficiency and load times. Sorry! This is the last "big" change before 2.1!
This commit is contained in:
parent
4e5c8b6052
commit
6808c46b58
26 changed files with 356 additions and 351 deletions
|
@ -34,9 +34,9 @@
|
|||
(load! "+modeline")
|
||||
(add-hook! 'pdf-tools-enabled-hook (doom-set-modeline 'pdf-tools-modeline)))
|
||||
;; Handle PDF-tools related popups better
|
||||
(set-popup-rule! "^\\*Outline*" '((side . right) (size . 40)) '((select)))
|
||||
(set-popup-rule! "^\\*Outline*" :side 'right :size 40 :select nil)
|
||||
;; TODO: Add additional important windows that should be handled differently
|
||||
;; TODO: These two next rules don't work (they should), investigate
|
||||
;; (set-popup-rule! "\\*Contents\\*" '((side . right) (size . 40)) nil)
|
||||
;; (set-popup-rule! "* annots\\*$" '((side . left) (size . 40)) '((select)))
|
||||
;; (set-popup-rule! "\\*Contents\\*" :side 'right :size 40)
|
||||
;; (set-popup-rule! "* annots\\*$" :side 'left :size 40 :select nil)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue