💥 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:
Henrik Lissner 2018-06-18 02:26:05 +02:00
parent 4e5c8b6052
commit 6808c46b58
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
26 changed files with 356 additions and 351 deletions

View file

@ -47,10 +47,6 @@ https://mediatemple.net"
"TODO")
(set-popup-rules!
'(("^\\*doom-regex\\*$"
((size . 4))
((quit)))
("^\\*doom-regex-groups"
((side . left) (size . 28))
((select) (quit)))))
'(("^\\*doom-regex\\*$" :size 4 :quit nil)
("^\\*doom-regex-groups" :side 'left :size 28 :select nil :quit nil)))

View file

@ -27,8 +27,8 @@ absolute paths.")
shr-max-image-proportion 0.6)
(set-popup-rule! "^\\*elfeed-entry"
'((size . 0.75) (side . bottom))
'((select . t) (quit) (transient . t)))
:size 0.75 :side 'bottom
:select t :quit nil :ttl t)
(make-directory elfeed-db-directory t)

View file

@ -25,9 +25,7 @@
twittering-initial-timeline-spec-string
'(":home" ":mentions" ":direct_messages"))
(set-popup-rule! "^\\*twittering-edit"
'((size . 15))
'((transient) (quit) (select . t)))
(set-popup-rule! "^\\*twittering-edit" :size 15 :ttl nil :quit nil :select t)
(defface twitter-divider
'((((background dark)) (:underline (:color "#141519")))