about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/packages/wpc-org.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-12-23T11·19+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-06T15·25+0000
commit7ae17daa981a6ac3f7d44c148867271a9dc71ada (patch)
tree85ebd6e3757875a1a4f28e8fee7739f23280b0bf /configs/shared/.emacs.d/wpc/packages/wpc-org.el
parent25ce422abd8c7b2bd11a7906e3d155f83f53bacc (diff)
Drop support for i3
While I first switched to EXWM warily and thinking it would only be temporary,
it seems like this switch is here to stay. It turns out that EXWM was exactly
the integration I've been looking for. How serendipitous it that I found it when
I did.

Thank you, @tazjin.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/packages/wpc-org.el')
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-org.el14
1 files changed, 0 insertions, 14 deletions
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-org.el b/configs/shared/.emacs.d/wpc/packages/wpc-org.el
index d1d981a3ea25..6743540974a8 100644
--- a/configs/shared/.emacs.d/wpc/packages/wpc-org.el
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-org.el
@@ -60,19 +60,5 @@
   :config
   (general-add-hook 'org-mode-hook (enable org-bullets-mode)))
 
-;; i3, `org-mode' integration
-;; Heavily influenced by: https://somethingsomething.us/post/i3_and_orgmode/
-;; TODO: Consider generalizing this since we're using "floating".
-(defadvice org-switch-to-buffer-other-window
-    (after supress-window-splitting activate)
-  "Delete the extra window if we're in a capture frame."
-  (if (equal "floating" (wpc/frame-name))
-      (delete-other-windows)))
-
-(add-hook 'org-capture-after-finalize-hook
-          (lambda ()
-            (when (equal "floating" (wpc/frame-name))
-                (delete-frame))))
-
 (provide 'wpc-org)
 ;;; wpc-org.el ends here