From 4438f5eb35c106e71fd6e6598b4dafab4a7c19b1 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Thu, 23 May 2019 11:25:01 -0400 Subject: Automatically move ERC buffers to workspace 1 --- jakob.org | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'jakob.org') 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. -- cgit v1.3