commit 41ef080a8333fd5bae5f632b5d6c49df1e2b59e1
parent f406f17338677239890ced197c704239890f6491
Author: quantumish <freifeld.david@gmail.com>
Date: Fri, 21 Aug 2026 23:09:13 -0400
Fix dependency related startup bugs
Diffstat:
3 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/init.el b/init.el
@@ -19,6 +19,11 @@
(load-module "introspection")
(load-module "ide")
(load-module "org")
-(load-module "firefox")
+
+;; dumb hack to avoid figuring out how dependencies work
+(use-package ini
+ :init (load-module "firefox"))
+
+(message "huh")
(load-module "pdf")
(load-module "music")
diff --git a/modules/firefox.el b/modules/firefox.el
@@ -1,8 +1,7 @@
-(use-package ini)
-(require 'ini)
(require 'sqlite)
+(require 'ini)
-(defvar firefox-app-name "firefox-esr<"
+(defvar firefox-app-name "firefox<"
"String that firefox window buffers will be prefixed with.")
(defvar firefox--title-name-regex
@@ -43,7 +42,7 @@
(cdr firefox-current-profile))))
(defvar firefox-command
- "env MOZ_USE_XINPUT2=1 firefox-esr --new-window"
+ "env MOZ_USE_XINPUT2=1 firefox --new-window"
"Shell command to run to launch Firefox.")
(defvar firefox-search-format
@@ -144,8 +143,9 @@
(vertico-sort-function nil)
(cands firefox--places-data))
(call-process-shell-command
- (format "%s \"%s\""
+ (format "%s -P %s \"%s\""
firefox-command
+ (car firefox-current-profile)
(firefox--get-url-from-completion
(completing-read "New tab: " cands nil nil)))
nil 0)))
diff --git a/modules/system.el b/modules/system.el
@@ -95,18 +95,19 @@
(bind-named-cmd "M-s M-s" flameshot
"flameshot gui -r | xclip -selection clipboard -t image/png"))
- ;; Emulate various DWM behaviors.
- (use-package dmenu
- :init (bind-exwm-key "M-p" 'dmenu))
(bind-exwm-key "M-k" 'other-window)
(bind-exwm-key "M-j" (lambda () (interactive) (other-window -1)))
(bind-exwm-key "C-M-j" 'other-frame)
(bind-exwm-key "C-M-k" (lambda () (interactive) (other-frame -1)))
+ (exwm-enable)
+
:hook
((exwm-update-class . b3n-exwm-set-buffer-name)
- (exwm-update-title . b3n-exwm-set-buffer-name))
- :init (exwm-enable))
+ (exwm-update-title . b3n-exwm-set-buffer-name)))
+
+(use-package dmenu
+ :init (bind-exwm-key "M-p" 'dmenu))
(use-package prodigy :demand t
:config