summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-05-23 11:25:01 -0400
committerJakob L. Kreuze2019-05-23 11:25:58 -0400
commit4438f5eb35c106e71fd6e6598b4dafab4a7c19b1 (patch)
tree111a71444f92421e94798f17739c0de93e49ce33
parentd9648318a6b992a01750de803baaa6d9e75e0c15 (diff)
Automatically move ERC buffers to workspace 1
-rw-r--r--jakob.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/jakob.org b/jakob.org
index 7659720..0c6d45f 100644
--- a/jakob.org
+++ b/jakob.org
@@ -1604,6 +1604,17 @@ assault me with windows when I connect to my bouncer.
erc-join-buffer 'bury)
#+END_SRC
+Also, move popped query buffers to the workspace I use for IRC.
+
+#+BEGIN_SRC elisp
+ :hook
+ (erc-mode .(lambda ()
+ (setf (elt exwm-buffer-groups-buffers exwm-workspace-current-index)
+ (remove (current-buffer)
+ (elt exwm-buffer-groups-buffers exwm-workspace-current-index)))
+ (push (current-buffer) (elt exwm-buffer-groups-buffers 1))))
+#+END_SRC
+
Show CTCP requests. Not for any reason in particular, I just like seeing when
people ping me.

© 2015 - 2026 Jakob L. Kreuze