Skip to content

Add configurable hot-corner actions#4030

Open
wangchun wants to merge 1 commit into
niri-wm:mainfrom
wangchun:hot-corner-actions
Open

Add configurable hot-corner actions#4030
wangchun wants to merge 1 commit into
niri-wm:mainfrom
wangchun:hot-corner-actions

Conversation

@wangchun
Copy link
Copy Markdown

@wangchun wangchun commented May 10, 2026

Add action-based hot corners in config. Keep backward compatibility for bare corner syntax. Wire runtime dispatch so entering a hot corner executes the configured action.

Example configuration:

hot-corners {
    top-left
    top-right { power-off-monitors; }
    bottom-right { spawn "dms" "ipc" "call" "lock" "lock"; }
}

Allow hot corners to run any bind action while preserving the existing overview behavior for bare corner names and the default top-left hot corner. Wire pointer hot-corner entry through normal action dispatch and document both global and per-output configuration.

Signed-off-by: Chun Wang <wangchun@niubi.com>
@Sempyos Sempyos added area:config Config parsing, default config, new settings pr kind:feature New features and functionality labels May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:config Config parsing, default config, new settings pr kind:feature New features and functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants