sway icon indicating copy to clipboard operation
sway copied to clipboard

input/keyboard: enable user-specific keymaps

Open rpigott opened this issue 2 years ago • 1 comments

This adds the xdg dirs to the lookup path when compiling xkb keymaps. With these the user can put custom symbol/rules files in $XDG_CONFIG_HOME/xkb to define user specific xkb options and layouts without modifying /usr/share/X11/xkb.

I was surprised to find this did not already work. If I have to include them, they're not exactly defaults now are they, libxkbcommon?

Fixes : #7229 #7270

rpigott avatar Nov 27 '22 21:11 rpigott

Sounds like a great improvement. Thanks!

jkonecny12 avatar Nov 28 '22 10:11 jkonecny12

We still miss these when running un-nested for some reason.

rpigott avatar Dec 02 '22 20:12 rpigott

xkbcommon refuses to add these search paths when sway is cap_sys_nice b/c of its use of secure_getenv.

rpigott avatar Dec 03 '22 00:12 rpigott