summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.xkb/desktop8
-rw-r--r--.xkb/symbols/ch-custom24
-rw-r--r--.xkb/x18
3 files changed, 40 insertions, 0 deletions
diff --git a/.xkb/desktop b/.xkb/desktop
new file mode 100644
index 0000000..54792c0
--- /dev/null
+++ b/.xkb/desktop
@@ -0,0 +1,8 @@
+# Load with xkbcomp -I$HOME/.xkb $HOME/.xkb/desktop $DISPLAY
+xkb_keymap {
+ xkb_keycodes { include "evdev+aliases(qwerty)" };
+ xkb_types { include "complete" };
+ xkb_compat { include "complete" };
+ xkb_symbols { include "pc+ch+inet(evdev)+ch-custom(desktop)" };
+ xkb_geometry { include "pc(pc105)" };
+};
diff --git a/.xkb/symbols/ch-custom b/.xkb/symbols/ch-custom
new file mode 100644
index 0000000..66cd95d
--- /dev/null
+++ b/.xkb/symbols/ch-custom
@@ -0,0 +1,24 @@
+default partial alphanumeric_keys
+xkb_symbols "basic" {
+ key <AE07> { [ 7, dollar, sterling ] };
+ key <BKSL> { [ slash, bar, braceright ] };
+ key <CAPS> { [ Escape ] };
+};
+
+partial alphanumeric_keys
+xkb_symbols "desktop" {
+ include "ch-custom(basic)"
+
+ key <MENU> { [ Super_R ] };
+};
+
+partial alphanumeric_keys
+xkb_symbols "x1" {
+ include "ch-custom(basic)"
+
+ key <PRSC> { [ Super_R ] };
+ key <PGUP> { [ Home ] };
+ key <PGDN> { [ End ] };
+ key <END> { [ Page_Down ] };
+ key <HOME> { [ Page_Up ] };
+};
diff --git a/.xkb/x1 b/.xkb/x1
new file mode 100644
index 0000000..4e5bad2
--- /dev/null
+++ b/.xkb/x1
@@ -0,0 +1,8 @@
+# Load with xkbcomp -I$HOME/.xkb $HOME/.xkb/x1 $DISPLAY
+xkb_keymap {
+ xkb_keycodes { include "evdev+aliases(qwerty)" };
+ xkb_types { include "complete" };
+ xkb_compat { include "complete" };
+ xkb_symbols { include "pc+ch+inet(evdev)+ch-custom(x1)" };
+ xkb_geometry { include "pc(pc105)" };
+};