diff options
author | jao <jao@gnu.org> | 2022-10-06 20:17:12 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-10-06 20:17:12 +0100 |
commit | cea86c1d147eeb1630477b76f37a635c94eedd04 (patch) | |
tree | 33662c21a0f08c66c1c3d414d6325e7a15d81ea5 /init.el | |
parent | 24c0d3565d8e7aedc636fbdcf3df93b0c727afcc (diff) | |
download | elibs-cea86c1d147eeb1630477b76f37a635c94eedd04.tar.gz elibs-cea86c1d147eeb1630477b76f37a635c94eedd04.tar.bz2 |
better matching of existing zathura windows
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1048,7 +1048,7 @@ (menu-bar . nil))) ;;;; frame layout, title, etc -(setq frame-title-format '("%b")) +(setq frame-title-format '("%b - emacs")) (use-package fringe) (fringe-mode) @@ -1480,7 +1480,7 @@ (setq jao-org-open-pdf-fun 'jao-find-or-open) (defun jao-zathura-open (file page) - (let ((id (jao-x11-search-window (file-name-nondirectory file)))) + (let ((id (jao-x11-search-window (jao-pdf-zathura-title-rx file)))) (if (string-blank-p id) (progn (when jao-xmonad-enabled (jao-x11-goto-ws 2)) |