summaryrefslogtreecommitdiffstats
path: root/root/xkb
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-02-21 15:06:12 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-02-21 15:06:12 +0100
commitcf48c423dbe7e6cf24bf1475e34778c2e7c8e33e (patch)
tree0d5613dde38a1a9ae1ec9da69f5422b8d34f5bcd /root/xkb
parentcorrect locale actually export into env (diff)
downloadn-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar
n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.gz
n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.bz2
n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.lz
n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.xz
n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.zst
n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.zip
Diffstat (limited to 'root/xkb')
-rw-r--r--root/xkb/map7
-rw-r--r--root/xkb/symbols/sijanec11
2 files changed, 18 insertions, 0 deletions
diff --git a/root/xkb/map b/root/xkb/map
new file mode 100644
index 0000000..c5660b0
--- /dev/null
+++ b/root/xkb/map
@@ -0,0 +1,7 @@
+xkb_keymap {
+ xkb_keycodes { include "evdev+aliases(qwertz)" };
+ xkb_types { include "complete" };
+ xkb_compat { include "complete" };
+ xkb_symbols { include "pc+si(basic)+inet(evdev)+sijanec(sijanec)" };
+ xkb_geometry { include "pc(pc105)" };
+};
diff --git a/root/xkb/symbols/sijanec b/root/xkb/symbols/sijanec
new file mode 100644
index 0000000..b7bb086
--- /dev/null
+++ b/root/xkb/symbols/sijanec
@@ -0,0 +1,11 @@
+partial alphanumeric_keys
+xkb_symbols "sijanec" {
+ // /usr/share/X11/xkb/keycodes/ibm za imena tipk
+ // /usr/share/X11/xkb/symbols/ za imena simbolov - keysyms /usr/include/X11/keysymdef.h
+ // v arrayu so modifierji: sama, dvigalka, zamenjalka znakov, dvigalka+zamenjalka znakov
+ // https://www.ubuntu.si/forum/discussion/3894/slovenjenje-tipk-na-tipkovnici
+ key <AC11> { [ braceleft, bracketleft, cacute, Cacute ] }; // { [ ć Ć
+ key <AC12> { [ zcaron, Zcaron, ssharp, Ssharp ] }; // ž Ž
+ key <AD12> { [ braceright, bracketright, dstroke, Dstroke ] }; // } ] dž DŽ
+ key <TLDE> { [ slash, ampersand, a, a ] }; // / &
+};