about summary refs log tree commit diff
path: root/configs/shared/.emacs.d
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
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')
-rw-r--r--configs/shared/.emacs.d/wpc/dotfiles.el1
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el1
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-org.el14
-rw-r--r--configs/shared/.emacs.d/wpc/window-manager.el8
4 files changed, 4 insertions, 20 deletions
diff --git a/configs/shared/.emacs.d/wpc/dotfiles.el b/configs/shared/.emacs.d/wpc/dotfiles.el
index 3ee99196bde9..1fba034aa2a6 100644
--- a/configs/shared/.emacs.d/wpc/dotfiles.el
+++ b/configs/shared/.emacs.d/wpc/dotfiles.el
@@ -23,7 +23,6 @@
     ("variables" . "~/variables.zsh")
     ("Xresources" . "~/.Xresources.shared")
     ("tmux" . "~/.tmux.conf")
-    ("i3" . "~/.config/i3/config") ;; TODO: Remove this one day.
     ("zshrc" . "~/.zshrc")
     ("configuration.nix" . "~/Dropbox/programming/nixify/configuration.nix")
     ("init.el" . "~/.emacs.d/init.el")
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
diff --git a/configs/shared/.emacs.d/wpc/window-manager.el b/configs/shared/.emacs.d/wpc/window-manager.el
index 07adf8774510..c7ee93aab664 100644
--- a/configs/shared/.emacs.d/wpc/window-manager.el
+++ b/configs/shared/.emacs.d/wpc/window-manager.el
@@ -1,10 +1,10 @@
-;;; window-manager.el --- Functions to ease my transition to EXWM. -*- lexical-binding: t -*-
+;;; window-manager.el --- Functions augmenting my usage of EXWM. -*- lexical-binding: t -*-
 ;; Author: William Carroll <wpcarro@gmail.com>
 
 ;;; Commentary:
-;; It's possible that this module will be entirely temporary.  Creating it after
-;; switching to EXWM to help transfer my reliance from i3 to EXWM.
-;;
+;; I switched to EXWM from i3, and I haven't looked back.  One day I may write a
+;; poem declaring my love for Emacs and EXWM.  For now, I haven't the time.
+
 ;; Wish list:
 ;; - TODO: Support different startup commands and layouts depending on laptop or
 ;;   desktop.