Skip to content

Preserve num lock state when loading custom keymap#3411

Open
mgabor3141 wants to merge 1 commit intoniri-wm:mainfrom
mgabor3141:feat/numlock-with-xkb
Open

Preserve num lock state when loading custom keymap#3411
mgabor3141 wants to merge 1 commit intoniri-wm:mainfrom
mgabor3141:feat/numlock-with-xkb

Conversation

@mgabor3141
Copy link

Normally when you set a custom keymap, the numlock setting stops working. This patch fixes that.

Example config:

input {
    keyboard {
        xkb {
            // layout "us"
            file "~/.config/xkb/keymap.xkb"
        }
        numlock // Enable numlock on startup
    }
}

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