about summary refs log tree commit diff
path: root/users/tazjin/emacs/config/functions.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-11-25T13·01+0300
committerclbot <clbot@tvl.fyi>2023-11-25T15·31+0000
commit683c8bade3be20c7451fbbdce9f5a6cae8a40cfd (patch)
tree1463b4c64396a8a98fda56098b18b4e48c10ad05 /users/tazjin/emacs/config/functions.el
parentb457217844141707e07c8f05f9b9cd33f7bfa13a (diff)
feat(tazjin/emacs): dynamically assign EXWM workspaces to monitors r/7060
Adds an `exwm-assign-workspaces` function that automatically creates
and assigns workspaces to each currently connected monitor. The first
workspace (index 0) is always on the primary monitor.

This function should be idempotent and can be called at any point to
synchronise X outputs and what EXWM is displaying on them.

This works because tabs are disconnected from workspaces completely,
so I don't have to care about what's going on on other workspaces
anymore.

Still missing:

* functions to connect/disconnect outputs
* switching to other outputs from within emacs commands (i.e. without
  the mouse)

Change-Id: I7c24aa1b45218fe35de6939e799852b5d11d1272
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10119
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config/functions.el')
0 files changed, 0 insertions, 0 deletions