Updated packages

This commit is contained in:
Benson Chu 2026-04-05 09:49:02 -05:00
parent 26c05d08c4
commit 6f4307601a
3 changed files with 6 additions and 33 deletions

View file

@ -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)

View file

@ -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))

2
elpa

@ -1 +1 @@
Subproject commit 6df853a359ff19a0a8fa40cc1dd52c0768a49129
Subproject commit b12ed477b68f85a0df9057f8c7b6d717b5a14586