Skip to content

feat: support dynamic border colors based on XKB layout#931

Open
Pasha49 wants to merge 1 commit into
mangowm:mainfrom
Pasha49:xkb-layout-colors
Open

feat: support dynamic border colors based on XKB layout#931
Pasha49 wants to merge 1 commit into
mangowm:mainfrom
Pasha49:xkb-layout-colors

Conversation

@Pasha49
Copy link
Copy Markdown

@Pasha49 Pasha49 commented May 15, 2026

Description

Adds support for dynamic border colors that change based on the active XKB keyboard layout group. This allows users to visually identify the current keyboard layout directly from the window border color.

Configuration Example

To use this feature, add to config.conf:

# Index 0: English, Index 1: Spanish, etc (no more than 8 layers).
xkb_layout_focuscolors=0xc9b890ff, 0xad401fff
xkb_layout_bordercolors=0x444444ff, 0x880000ff

@DreamMaoMao DreamMaoMao force-pushed the main branch 3 times, most recently from c009ba2 to f328c27 Compare May 20, 2026 05:07
@Pasha49 Pasha49 force-pushed the xkb-layout-colors branch from 5620111 to 090e518 Compare May 20, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant