mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +03:00
feat(exwm): Nyxt settings
This commit is contained in:
parent
8b954419fe
commit
b96a7f62fb
2 changed files with 20 additions and 0 deletions
|
|
@ -143,6 +143,10 @@ _=_: Balance "
|
||||||
(perspective-exwm-assign-window
|
(perspective-exwm-assign-window
|
||||||
:workspace-index 2
|
:workspace-index 2
|
||||||
:persp-name "browser"))
|
:persp-name "browser"))
|
||||||
|
("Nyxt"
|
||||||
|
(perspective-exwm-assign-window
|
||||||
|
:workspace-index 2
|
||||||
|
:persp-name "browser"))
|
||||||
("Alacritty"
|
("Alacritty"
|
||||||
(perspective-exwm-assign-window
|
(perspective-exwm-assign-window
|
||||||
:persp-name "term"))
|
:persp-name "term"))
|
||||||
|
|
@ -380,6 +384,10 @@ _d_: Discord
|
||||||
|
|
||||||
(add-hook 'exwm-floating-setup-hook #'my/fix-exwm-floating-windows)
|
(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 ()
|
(defun my/exwm-init ()
|
||||||
(exwm-workspace-switch 1)
|
(exwm-workspace-switch 1)
|
||||||
|
|
||||||
|
|
|
||||||
12
Desktop.org
12
Desktop.org
|
|
@ -439,6 +439,10 @@ For EXWM windows, the =perspective-exwm= package provides a function called =per
|
||||||
(perspective-exwm-assign-window
|
(perspective-exwm-assign-window
|
||||||
:workspace-index 2
|
:workspace-index 2
|
||||||
:persp-name "browser"))
|
:persp-name "browser"))
|
||||||
|
("Nyxt"
|
||||||
|
(perspective-exwm-assign-window
|
||||||
|
:workspace-index 2
|
||||||
|
:persp-name "browser"))
|
||||||
("Alacritty"
|
("Alacritty"
|
||||||
(perspective-exwm-assign-window
|
(perspective-exwm-assign-window
|
||||||
:persp-name "term"))
|
: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)
|
(add-hook 'exwm-floating-setup-hook #'my/fix-exwm-floating-windows)
|
||||||
#+end_src
|
#+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
|
** EXWM config
|
||||||
And the EXWM config itself.
|
And the EXWM config itself.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue