From 79381fcbd6892b4cf3ef43dca46a61a8a5da1cee Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 4 Jul 2021 02:58:26 +0100 Subject: nits --- exwm.org | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'exwm.org') diff --git a/exwm.org b/exwm.org index 7bcc7c0..cd83ca3 100644 --- a/exwm.org +++ b/exwm.org @@ -80,11 +80,7 @@ * Buffer names #+begin_src emacs-lisp (defun jao-exwm--use-title-p () - (or (string-prefix-p "sun-awt-X11-" exwm-instance-name) - (string= "Navigator" exwm-instance-name) - (string= "Spotify" exwm-class-name) - (string= "XTerm" exwm-class-name) - (string= "Zathura" exwm-class-name))) + (and exwm-title (not (string-blank-p exwm-title)))) (defun jao-exwm-rename-buffer/class () (unless (jao-exwm--use-title-p) -- cgit v1.2.3