projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c054dc
)
Show current EXWM workspace index in mode-line
author
Amin Bandali
<bandali@gnu.org>
Sat, 24 Dec 2022 21:30:36 +0000
(16:30 -0500)
committer
Amin Bandali
<bandali@gnu.org>
Sat, 24 Dec 2022 21:30:36 +0000
(16:30 -0500)
.emacs.d/lisp/bandali-exwm.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/lisp/bandali-exwm.el
b/.emacs.d/lisp/bandali-exwm.el
index
b1b0bba
..
bd28d5b
100644
(file)
--- a/
.emacs.d/lisp/bandali-exwm.el
+++ b/
.emacs.d/lisp/bandali-exwm.el
@@
-309,5
+309,15
@@
around if needed."
(add-to-list 'load-path (b/lisp "exwm-edit"))
(require 'exwm-edit)
+(with-eval-after-load 'exwm-workspace
+ (setq-default
+ mode-line-format
+ (append
+ mode-line-format
+ '((:eval
+ (format
+ " [%s]" (number-to-string
+ exwm-workspace-current-index)))))))
+
(provide 'bandali-exwm)
;;; bandali-exwm.el ends here