diff options
Diffstat (limited to 'exwm.org')
-rw-r--r-- | exwm.org | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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) |