]> 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:

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