diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-07-12 10:53:50 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-07-12 10:53:50 +0200 |
commit | b5ad5c6e46bd90e8e99eb3677d9d89971590a15f (patch) | |
tree | 26c53a06d53887f01df3a8116f42185eff1a20a7 | |
parent | e3aef46a13eb0edff749d11b83e58782e9a6e2fa (diff) |
tailor.lisp: Makes it so that only internal buffers are reloaded
-rw-r--r-- | tailor.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tailor.lisp b/tailor.lisp index 3eef560..fc78816 100644 --- a/tailor.lisp +++ b/tailor.lisp @@ -314,7 +314,7 @@ of `GTK_THEME', or if a matching theme name, it will always choose that theme on (defmethod reload-style ((element nyxt:buffer)) (loop for buffer in (nyxt::buffer-initial-suggestions) - do (progn + do (when (nyxt:internal-url-p (url buffer)) (setf (nyxt::style buffer) (compute-style *current-theme* :element 'nyxt:buffer :accessor #'buffer)) |