From 8a438d164f17f5261da39231cd0e903b85f62d8d Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 27 Mar 2021 03:55:21 +0000 Subject: clean-ups --- exwm.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'exwm.org') diff --git a/exwm.org b/exwm.org index 996c840..26a1779 100644 --- a/exwm.org +++ b/exwm.org @@ -16,7 +16,7 @@ (use-package exwm-edit :ensure t) (require 'exwm) #+end_src -* Frames as workspaces +* Frame(s) as workspaces #+begin_src emacs-lisp (defun jao-exwm--new-frame-p () (not (frame-parameter nil 'jao-frames-initialized))) @@ -75,8 +75,8 @@ #+begin_src emacs-lisp (add-hook 'exwm-workspace-switch-hook 'tracking-remove-visible-buffers) #+end_src -* Buffer titles - #+BEGIN_SRC emacs-lisp +* 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) @@ -104,7 +104,7 @@ (add-hook 'exwm-mode-hook 'jao-exwm--set-exwm-name) (add-hook 'exwm-update-class-hook 'jao-exwm-rename-buffer/class) (add-hook 'exwm-update-title-hook 'jao-exwm-rename-buffer/title) - #+END_SRC + #+end_src * Float windows #+begin_src emacs-lisp (defvar jao-exwm-max-x (x-display-pixel-width)) -- cgit v1.2.3