diff options
author | jao <jao@gnu.org> | 2021-07-04 02:58:26 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-07-04 02:58:26 +0100 |
commit | 79381fcbd6892b4cf3ef43dca46a61a8a5da1cee (patch) | |
tree | 13ba76a8a20bd8d6bbcf04ab2c1aa6d1de174c2f /exwm.org | |
parent | 74a103287800b228eafc0725d4e26619e716a78e (diff) | |
download | elibs-79381fcbd6892b4cf3ef43dca46a61a8a5da1cee.tar.gz elibs-79381fcbd6892b4cf3ef43dca46a61a8a5da1cee.tar.bz2 |
nits
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) |