summaryrefslogtreecommitdiffhomepage
path: root/exwm.org
diff options
context:
space:
mode:
Diffstat (limited to 'exwm.org')
-rw-r--r--exwm.org7
1 files changed, 1 insertions, 6 deletions
diff --git a/exwm.org b/exwm.org
index 29978b2..e6e5c94 100644
--- a/exwm.org
+++ b/exwm.org
@@ -330,12 +330,7 @@
(defun jao-zathura--file-info (b)
(with-current-buffer b
- (when (string-match "\\(.+\\) \\[\\(.+\\) (\\([0-9]+\\)/\\([0-9]+\\))\\]"
- (or exwm-title ""))
- (list (expand-file-name (match-string 1 exwm-title))
- (string-to-number (match-string 3 exwm-title))
- (string-to-number (match-string 4 exwm-title))
- (match-string 2 exwm-title)))))
+ (jao-zathura-file-info (or exwm-title ""))))
(defun jao-zathura-goto-page (page-no)
(jao-exwm--send-str (format "%sg" page-no)))