Skip to content

Commit

Permalink
add custom keyboard layout
Browse files Browse the repository at this point in the history
previously globally defined in /usr/share/X11/xkb/symbols/custom
ref: swaywm/sway#3999
  • Loading branch information
mdeff committed Apr 3, 2019
1 parent 1991569 commit dd41536
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .xkb/symbols/custom
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
default partial alphanumeric_keys
xkb_symbols "basic" {
include "ch(basic)"
override key <AD11> { [ bracketleft, braceleft ] };
override key <AD12> { [ bracketright, braceright ] };
override key <AC10> { [ eacute, egrave ] };
override key <AC11> { [ agrave, dead_diaeresis ] };
override key <BKSL> { [ dollar, exclam, sterling ] };
};
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ Supports [SyncTeX] in both directions.
[urxvt]: http://software.schmorp.de/pkg/rxvt-unicode.html

* [`.Xresources`](.Xresources), picked up by [urxvt] and [sxiv]
* [`.profile`](.profile)
* [`.profile`](.profile), environment variables
* [`.config/user-dirs.dirs`](`.config/user-dirs.dirs`), XDG default directories
* [`.xkb/symbols/custom`](.xkb/symbols/custom), custom keyboard layout
* [`.latexmkrc`](.latexmkrc)
* [`.mozilla/firefox/profiles.ini`](.mozilla/firefox/profiles.ini)
* [`.thunderbird/profiles.ini`](.mozilla/firefox/profiles.ini)
Expand Down

0 comments on commit dd41536

Please sign in to comment.