summaryrefslogtreecommitdiffhomepage
path: root/exwm.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-07-04 02:58:26 +0100
committerjao <jao@gnu.org>2021-07-04 02:58:26 +0100
commit79381fcbd6892b4cf3ef43dca46a61a8a5da1cee (patch)
tree13ba76a8a20bd8d6bbcf04ab2c1aa6d1de174c2f /exwm.org
parent74a103287800b228eafc0725d4e26619e716a78e (diff)
downloadelibs-79381fcbd6892b4cf3ef43dca46a61a8a5da1cee.tar.gz
elibs-79381fcbd6892b4cf3ef43dca46a61a8a5da1cee.tar.bz2
nits
Diffstat (limited to 'exwm.org')
-rw-r--r--exwm.org6
1 files changed, 1 insertions, 5 deletions
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)