summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-28 22:59:05 +0100
committerjao <jao@gnu.org>2022-08-28 22:59:05 +0100
commit14f7263329bf8be3b35578a2dea42e3456027e66 (patch)
treee1090d8426d7e319614b6c97c5c166adae59e272
parent692b296a7cbd13a0689fdf9fdc9608d116ab625e (diff)
downloadelibs-14f7263329bf8be3b35578a2dea42e3456027e66.tar.gz
elibs-14f7263329bf8be3b35578a2dea42e3456027e66.tar.bz2
minibuffer afio indicator for frames
-rw-r--r--init.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.el b/init.el
index 599492f..5c1250b 100644
--- a/init.el
+++ b/init.el
@@ -1313,14 +1313,15 @@
:config (jao-afio-setup (not window-system)))
(defun jao-current--frame-id ()
- (propertize (if (and (jao-exwm-enabled-p)
- (not (bound-and-true-p jao-exwm--use-afio)))
- (format "F%s" exwm-workspace-current-index)
- (format "%s" (jao-afio-frame-no)))
+ (propertize (cond ((and (jao-exwm-enabled-p)
+ (not (bound-and-true-p jao-exwm--use-afio)))
+ (format "F%s" exwm-workspace-current-index))
+ (jao-afio-use-frames (jao-afio-frame-name))
+ (t (format "%s" (jao-afio-frame-no))))
'face 'font-lock-warning-face))
-(add-hook 'jao-afio-switch-hook #'tracking-remove-visible-buffers)
(jao-minibuffer-add-variable '(jao-current--frame-id) 100)
+(add-hook 'jao-afio-switch-hook 'jao-minibuffer-refresh t)
(defun jao-afio--set-mode-line ()
(when (and window-system (fboundp 'jao-mode-line-hide-inactive))