From 6f4307601a582aab652b751c8c22007374e2cee0 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Sun, 5 Apr 2026 09:49:02 -0500 Subject: [PATCH] Updated packages --- config-exwm.org | 11 +++++------ config-min.org | 26 -------------------------- elpa | 2 +- 3 files changed, 6 insertions(+), 33 deletions(-) diff --git a/config-exwm.org b/config-exwm.org index 0f98ef9..a611452 100644 --- a/config-exwm.org +++ b/config-exwm.org @@ -23,12 +23,14 @@ ;; System tray (require 'exwm-systemtray) - (exwm-systemtray-enable) + (exwm-systemtray-mode t) ;; Multi monitor support (require 'exwm-randr) - (exwm-enable) - (exwm-randr-enable) + (exwm-randr-mode t) + + (add-hook 'emacs-startup-hook + 'exwm-wm-mode) ;; This is a new-frame hack. Don't copy faces for floating windows (require 'face-copier) @@ -77,9 +79,6 @@ (require 'exwm-startup) (add-hook 'exwm-init-hook 'call-startup-programs) - (require 'exwm-systemtray) - (exwm-systemtray-enable) - ;; Setup screens before anything else (require 'exwm-screens) (add-hook 'exwm-init-hook 'my/setup-screens) diff --git a/config-min.org b/config-min.org index 0cab3eb..eb958ac 100644 --- a/config-min.org +++ b/config-min.org @@ -111,32 +111,6 @@ (use-package affe :config - (defun my/affe-find (&optional dir initial) - "Fuzzy find in DIR with optional INITIAL input." - (interactive "P") - (pcase-let* ((`(,prompt ,paths ,dir) (consult--directory-prompt "Fuzzy find" dir)) - (default-directory dir)) - (consult--read - (thread-first (consult--async-sink) - (consult--async-refresh-timer 0.05) - (consult--async-map (lambda (x) (string-remove-prefix "./" x))) - (affe--async (affe--command affe-find-command paths)) - (consult--async-split #'consult--split-nil)) - :prompt prompt - :sort nil - :require-match t - :history '(:input affe--find-history) - :initial initial - :category 'file - :add-history (thing-at-point 'filename) - :state (lambda (action cand) - (when (and cand (eq action 'return)) - (find-file (expand-file-name cand dir))))))) - - (advice-add #'affe-find - :override - #'my/affe-find) - (with-eval-after-load 'projectile (define-key projectile-command-map (kbd "F") #'affe-find) (define-key projectile-command-map (kbd "s G") #'affe-grep)) diff --git a/elpa b/elpa index 6df853a..b12ed47 160000 --- a/elpa +++ b/elpa @@ -1 +1 @@ -Subproject commit 6df853a359ff19a0a8fa40cc1dd52c0768a49129 +Subproject commit b12ed477b68f85a0df9057f8c7b6d717b5a14586