diff options
-rw-r--r-- | emacs | 6 | ||||
-rw-r--r-- | exwm | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/emacs b/emacs index f80ca9c..d52a56e 100644 --- a/emacs +++ b/emacs | |||
@@ -849,9 +849,11 @@ | |||
849 | (setopt browse-url-firefox-arguments '("--new-tab")) | 849 | (setopt browse-url-firefox-arguments '("--new-tab")) |
850 | (setopt browse-url-firefox-new-window-is-tab t) | 850 | (setopt browse-url-firefox-new-window-is-tab t) |
851 | (setopt browse-url-generic-args browse-url-firefox-arguments) | 851 | (setopt browse-url-generic-args browse-url-firefox-arguments) |
852 | (setopt browse-url-generic-program "firefox") | 852 | (setopt browse-url-firefox-program (executable-fined "librewolf")) |
853 | (setopt browse-url-generic-program browse-url-firefox-program) | ||
853 | 854 | ||
854 | (setopt browse-url-secondary-browser-function #'browse-url-firefox) | 855 | |
856 | (setopt browse-url-secondary-browser-function #'browse-url-generic) | ||
855 | 857 | ||
856 | (package-ensure 'link-hint) | 858 | (package-ensure 'link-hint) |
857 | (keymap-global-set "M-l" | 859 | (keymap-global-set "M-l" |
diff --git a/exwm b/exwm index 55f33fb..426e6a5 100644 --- a/exwm +++ b/exwm | |||
@@ -120,7 +120,7 @@ BUFFER-NAME defaults to the first word of COMMAND." | |||
120 | (setopt exwm-input-global-keys | 120 | (setopt exwm-input-global-keys |
121 | `(;; Command shortcuts | 121 | `(;; Command shortcuts |
122 | ([?\s-p] . ,(^run-or-raise "keepassxc")) | 122 | ([?\s-p] . ,(^run-or-raise "keepassxc")) |
123 | ([?\s-b] . ,(^run-or-raise "firefox")) | 123 | ([?\s-b] . ,(^run-or-raise browse-url-generic-program)) |
124 | ;; 's-r': Reset (to line-mode). | 124 | ;; 's-r': Reset (to line-mode). |
125 | ([?\s-r] . exwm-reset) | 125 | ([?\s-r] . exwm-reset) |
126 | ;; 's-w': Bury buffer (I honestly don't really use workspaces) | 126 | ;; 's-w': Bury buffer (I honestly don't really use workspaces) |
@@ -142,7 +142,8 @@ BUFFER-NAME defaults to the first word of COMMAND." | |||
142 | ([?\C-k] . [S-end delete]) | 142 | ([?\C-k] . [S-end delete]) |
143 | ([?\M-w] . [?\C-c]) | 143 | ([?\M-w] . [?\C-c]) |
144 | ([?\C-w] . [?\C-x]) | 144 | ([?\C-w] . [?\C-x]) |
145 | ([?\C-y] . [?\C-v]))) | 145 | ([?\C-y] . [?\C-v]) |
146 | ([?\C-s] . [?\C-f]))) | ||
146 | 147 | ||
147 | ;;; Startup | 148 | ;;; Startup |
148 | 149 | ||