Skip to content

[RFC] improving exwm-randr #202

@fjl

Description

@fjl

I'd like to improve exwm-randr so it fits my workflow better. At this time, the randr module allows one basic mode of operation where workspaces can be assigned to (named) outputs statically. This kind of works but I don't find it convenient. It would be nice if exwm-randr could just distribute workspaces on available outputs without having to configure anything.

When a new output comes up, it would just pick a workspace that is currently not displayed and show it there. The existing config variable could be used as a preference list, indicating which workspace should be chosen.

A new set of functions for managing outputs could be added:

exwm-randr-workspace-switch would select a different workspace on the current output. If the workspace is currently displayed somewhere else, this command would also move the current workspace to there (basically swapping them).

exwm-randr-disable-output would ensure that no workspace will be displayed on the given output. This is useful for cases where laptop lid is closed. It would be super nice to prompt for outputs interactively here.

exwm-randr-enable-output would be the opposite of the above command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions