]> git.madduck.net Git - etc/xsession.git/blob - .xkb/symbols/madduck

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

88b9c7f0dd5caf4f655149e324b679b4a8971d62
[etc/xsession.git] / .xkb / symbols / madduck
1 // mode_switch: set up windows keys for mode switching and the menu keys
2 // to generate mod3. since I have some machines without those fancy keys, I
3 // also configure the right CTRL and ALT keys to do the same.
4 partial modifier_keys
5 xkb_symbols "mode_switch" {
6   include "group(win_switch)"
7   include "group(switch)"
8   replace key <MENU> {
9     [ VoidSymbol, VoidSymbol ]
10   };
11   replace key <RCTL> {
12     [ VoidSymbol, VoidSymbol ]
13   };
14   modifier_map Mod3 { <RCTL> };
15   modifier_map Mod3 { <MENU> };
16 };
17
18 // caps_mod4: make capslock generate the mod4 modifier
19 partial modifier_keys
20 xkb_symbols "caps_mod4" {
21   replace key <CAPS> {
22     [ VoidSymbol, VoidSymbol ]
23   };
24   modifier_map Mod4 { <CAPS> };
25 };
26
27 // group2_intl: my group2 map of international and other symbols
28 partial modifier_keys alphanumeric_keys
29 xkb_symbols "group2_intl" {
30   key <TLDE> {
31     symbols[Group2] = [ degree, infinity ]
32   };
33   key <AE00> {
34     symbols[Group2] = [ degree, infinity ]
35   };
36   key <AE01> {
37     symbols[Group2] = [ onequarter, oneeighth ]
38   };
39   key <AE02> {
40     symbols[Group2] = [ twosuperior, onehalf ]
41   };
42   key <AE03> {
43     symbols[Group2] = [ threesuperior, threequarters ]
44   };
45   key <AE04> {
46     symbols[Group2] = [ eacute, Eacute ]
47   };
48   key <AE05> {
49     symbols[Group2] = [ EuroSign, cent ]
50   };
51   key <AE06> {
52     symbols[Group2] = [ copyright, trademark ]
53   };
54   key <AE07> {
55     symbols[Group2] = [ yacute, Yacute ]
56   };
57   key <AE08> {
58     symbols[Group2] = [ uacute, Uacute ]
59   };
60   key <AE09> {
61     symbols[Group2] = [ iacute, Iacute ]
62   };
63   key <AE10> {
64     symbols[Group2] = [ oacute, Oacute ]
65   };
66   key <AE11> {
67     symbols[Group2] = [ endash, emdash ]
68   };
69   key <AE12> {
70     symbols[Group2] = [ approximate, plusminus ]
71   };
72   key <BKSP> {
73     symbols[Group2] = [ BackSpace, BackSpace ]
74   };
75   key <TAB> {
76     symbols[Group2] = [ Tab, Tab ]
77   };
78   key <AD01> {
79     symbols[Group2] = [ acircumflex, Acircumflex ]
80   };
81   key <AD02> {
82     symbols[Group2] = [ aacute, Aacute ]
83   };
84   key <AD03> {
85     symbols[Group2] = [ ediaeresis, Ediaeresis ]
86   };
87   key <AD04> {
88     symbols[Group2] = [ ecircumflex, Ecircumflex ]
89   };
90   key <AD05> {
91     symbols[Group2] = [ icircumflex, Icircumflex ]
92   };
93   key <AD06> {
94     symbols[Group2] = [ ydiaeresis, Ydiaeresis ]
95   };
96   key <AD07> {
97     symbols[Group2] = [ udiaeresis, Udiaeresis ]
98   };
99   key <AD08> {
100     symbols[Group2] = [ idiaeresis, Idiaeresis ]
101   };
102   key <AD09> {
103     symbols[Group2] = [ odiaeresis, Odiaeresis ]
104   };
105   key <AD10> {
106     symbols[Group2] = [ ocircumflex, Ocircumflex ]
107   };
108   key <AD11> {
109     symbols[Group2] = [ ae, AE ]
110   };
111   key <AD12> {
112     symbols[Group2] = [ oslash, Oslash ]
113   };
114   key <BKSL> {
115     symbols[Group2] = [ aring, Aring ]
116   };
117   key <AC01> {
118     symbols[Group2] = [ adiaeresis, Adiaeresis ]
119   };
120   key <AC02> {
121     symbols[Group2] = [ ssharp, section ]
122   };
123   key <AC03> {
124     symbols[Group2] = [ egrave, Egrave ]
125   };
126   key <AC04> {
127     symbols[Group2] = [ eth, Eth ]
128   };
129   key <AC05> {
130     symbols[Group2] = [ thorn, Thorn ]
131   };
132   key <AC06> {
133     symbols[Group2] = [ ucircumflex, Ucircumflex ]
134   };
135   key <AC07> {
136     symbols[Group2] = [ ugrave, Ugrave ]
137   };
138   key <AC08> {
139     symbols[Group2] = [ igrave, Igrave ]
140   };
141   key <AC09> {
142     symbols[Group2] = [ ograve, Ograve ]
143   };
144   key <AC10> {
145     symbols[Group2] = [ leftdoublequotemark, leftarrow ]
146   };
147   key <AC11> {
148     symbols[Group2] = [ rightdoublequotemark, rightarrow ]
149   };
150   key <RTRN> {
151     symbols[Group2] = [ Return, Return ]
152   };
153   key <AB01> {
154     symbols[Group2] = [ agrave, Agrave ]
155   };
156   key <AB02> {
157     symbols[Group2] = [ multiply, division ]
158   };
159   key <AB03> {
160     symbols[Group2] = [ ccedilla, Ccedilla ]
161   };
162   key <AB04> {
163     symbols[Group2] = [ atilde, Atilde ]
164   };
165   key <AB05> {
166     symbols[Group2] = [ otilde, Otilde ]
167   };
168   key <AB06> {
169     symbols[Group2] = [ ntilde, Ntilde ]
170   };
171   key <AB07> {
172     symbols[Group2] = [ mu, heart ]
173   };
174   key <AB08> {
175     symbols[Group2] = [ notsign, guillemotleft ]
176   };
177   key <AB09> {
178     symbols[Group2] = [ ellipsis, guillemotright ]
179   };
180   key <AB10> {
181     symbols[Group2] = [ exclamdown, questiondown ]
182   };
183 };