[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line 2d8bce830b 1/2: add segment for perspective
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line 2d8bce830b 1/2: add segment for perspective-mode |
Date: |
Sun, 24 Apr 2022 00:59:22 -0400 (EDT) |
branch: elpa/telephone-line
commit 2d8bce830b5fe3463185c7c9b05bcd871714fc51
Author: Mohammed Ismail Ansari <team.terminal@gmail.com>
Commit: GitHub <noreply@github.com>
add segment for perspective-mode
---
telephone-line-segments.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 520c6e515f..107a5c2a0e 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -350,6 +350,10 @@ Configure the face group telephone-line-evil to change the
colors per-mode."
(when (bound-and-true-p workgroups-mode)
(telephone-line-raw (wg-mode-line-string) t)))
+(telephone-line-defsegment* telephone-line-perspective-segment ()
+ (when (bound-and-true-p persp-mode)
+ (telephone-line-raw (persp-mode-line) t)))
+
(telephone-line-defsegment* telephone-line-nyan-segment ()
(when (bound-and-true-p nyan-mode)
(nyan-create)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/telephone-line 2d8bce830b 1/2: add segment for perspective-mode,
ELPA Syncer <=