From 7ae17daa981a6ac3f7d44c148867271a9dc71ada Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 23 Dec 2019 11:19:42 +0000 Subject: 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. --- configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el | 1 - configs/shared/.emacs.d/wpc/packages/wpc-org.el | 14 -------------- 2 files changed, 15 deletions(-) (limited to 'configs/shared/.emacs.d/wpc/packages') diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el b/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el index ed508dc7b1fd..bdf50df67840 100644 --- a/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el +++ b/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el @@ -124,7 +124,6 @@ "ef" (lambda () (interactive) (wpc/find-file-split "~/functions.zsh")) "el" (lambda () (interactive) (wpc/find-file-split "~/variables.zsh")) "ex" (lambda () (interactive) (wpc/find-file-split "~/.Xresources")) - "ei" (lambda () (interactive) (wpc/find-file-split "~/.config/i3/config.shared")) "em" (lambda () (interactive) (wpc/find-file-split "~/.tmux.conf")) "l" #'locate 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 -- cgit 1.4.1