From f31dd593db474575fe0edc298916586039b21aab Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 20 May 2022 03:23:46 +0100 Subject: working better in term mode: pdfs with zathura --- exwm.org | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'exwm.org') 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))) -- cgit v1.2.3