diff options
| author | Jakob L. Kreuze | 2019-05-23 11:25:01 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-05-23 11:25:58 -0400 |
| commit | 4438f5eb35c106e71fd6e6598b4dafab4a7c19b1 (patch) | |
| tree | 111a71444f92421e94798f17739c0de93e49ce33 | |
| parent | d9648318a6b992a01750de803baaa6d9e75e0c15 (diff) | |
Automatically move ERC buffers to workspace 1
| -rw-r--r-- | jakob.org | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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. |