From b96a7f62fb09f662336676cbcb40430ea91ac95f Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Wed, 8 Feb 2023 13:02:35 +0300 Subject: [PATCH] feat(exwm): Nyxt settings --- .emacs.d/desktop.el | 8 ++++++++ Desktop.org | 12 ++++++++++++ 2 files changed, 20 insertions(+) diff --git a/.emacs.d/desktop.el b/.emacs.d/desktop.el index 7c34047..ebfc0e2 100644 --- a/.emacs.d/desktop.el +++ b/.emacs.d/desktop.el @@ -143,6 +143,10 @@ _=_: Balance " (perspective-exwm-assign-window :workspace-index 2 :persp-name "browser")) + ("Nyxt" + (perspective-exwm-assign-window + :workspace-index 2 + :persp-name "browser")) ("Alacritty" (perspective-exwm-assign-window :persp-name "term")) @@ -380,6 +384,10 @@ _d_: Discord (add-hook 'exwm-floating-setup-hook #'my/fix-exwm-floating-windows) +(setq exwm-manage-configurations + '(((member exwm-class-name '("Nyxt")) + char-mode t))) + (defun my/exwm-init () (exwm-workspace-switch 1) diff --git a/Desktop.org b/Desktop.org index a48ed2f..c8cab49 100644 --- a/Desktop.org +++ b/Desktop.org @@ -439,6 +439,10 @@ For EXWM windows, the =perspective-exwm= package provides a function called =per (perspective-exwm-assign-window :workspace-index 2 :persp-name "browser")) + ("Nyxt" + (perspective-exwm-assign-window + :workspace-index 2 + :persp-name "browser")) ("Alacritty" (perspective-exwm-assign-window :persp-name "term")) @@ -932,6 +936,14 @@ These 3 settings seem to cause particular trouble with floating windows. Setting (add-hook 'exwm-floating-setup-hook #'my/fix-exwm-floating-windows) #+end_src +** Application-specific settings +Start Nyxt in =char-mode=. + +#+begin_src emacs-lisp +(setq exwm-manage-configurations + '(((member exwm-class-name '("Nyxt")) + char-mode t))) +#+end_src ** EXWM config And the EXWM config itself.