diff options
Diffstat (limited to '')
-rwxr-xr-x | .xinitrc | 3 | ||||
-rw-r--r-- | .xkb/keymap/icd | 7 | ||||
-rw-r--r-- | .xkb/symbols/icd | 107 | ||||
-rw-r--r-- | .zshrc | 2 | ||||
-rwxr-xr-x | dm | 1 |
5 files changed, 117 insertions, 3 deletions
@@ -1,7 +1,6 @@ #!/bin/sh redshift -l 44.22:-76.48 -t 6500:2500 & -setxkbmap -layout us -variant icd -option -option lv3:ralt_switch_multikey \ - -option ctrl:nocaps +xkbcomp -I$HOME/.xkb $HOME/.xkb/keymap/icd $DISPLAY # xcompmgr & urxvt & trayer --tint black --edge top --SetDockType true --SetPartialStrut true \ diff --git a/.xkb/keymap/icd b/.xkb/keymap/icd new file mode 100644 index 0000000..5d1c786 --- /dev/null +++ b/.xkb/keymap/icd @@ -0,0 +1,7 @@ +xkb_keymap { + xkb_keycodes { include "evdev+aliases(qwerty)" }; + xkb_types { include "complete" }; + xkb_compat { include "complete" }; + xkb_symbols { include "pc+us+icd+inet(evdev)+level3(ralt_switch_multikey)+ctrl(nocaps)" }; + xkb_geometry { include "pc(pc105)" }; +}; diff --git a/.xkb/symbols/icd b/.xkb/symbols/icd new file mode 100644 index 0000000..bb7a4d3 --- /dev/null +++ b/.xkb/symbols/icd @@ -0,0 +1,107 @@ +// International Coder Dvorak +// By: Ryan Kavanagh <ryanakca@kubuntu.org> , http://ryanak.ca/ +// +// Based on the Dvorak International (dvorak-intl) layout: +// Stephane Magnenat (stephane at magnenat dot net, http://stephane.magnenat.net) +// Based on information from http://www.poupinou.org/dvorak/index.html +// Based on the Programmer Dvorak (dvp) layout: +// Programmer Dvorak, by Roland Kaufmann <rlndkfmn at gmail dot com> +// License: BSD, available at <http://www.kaufmann.no/roland/dvorak/license.html> +// +// SHIFT: ~ % 7 5 3 1 9 0 2 4 6 8 ` BCKSP +// NORMAL: $ & [ { } ( = * ) + ] ! # BCKSP +// AltGr: d~ ø € ¥ d˘ d¨ d¸ d`` d` d´ d˝ ¡ d˚ BCKSP +// SFT-AG: ¢ Ø £ ¤ d˳ BCKSP +// +// TAB : < > P Y F G C R L ? ^ | +// TAB ; , . p y f g c r l / @ \ +// TAB ä « » ö ë ü ï ç ® æ ¿ dˆ d' +// TAB Ä · Ö Ë Ü Ï Ç ™ Æ dˇ d. +// +// CAPL A O E U I D H T N S _ ENTER +// CAPL a o e u i d h t n s - ENTER +// CAPL à ô é ù î ð ¶ þ ñ ß – ENTER +// CAPL À Ô É Ù Î Ð § Þ Ñ — ENTER +// +// SHIFT " Q J K X B M W V Z SHIFT +// SHIFT ' q j k x b m w v z SHIFT +// SHIFT â ó è ù ï å ê w v z SHIFT +// SHIFT Â ó È Ù Ï Å Ê W V Z +// +// Legend: dX -> dead_X +// +// en dash: AltGr-hyphen_minus +// em dash: Shift-AltGr-hyphen_minus +// dead_doublegrave: AltGr-asterisk +// dead_abovedot: on AltGr-backslash +// dead_belowdot: on Shift-AltGr-backslash + +partial alphanumeric_keys +xkb_symbols "icd" { + include "us(dvorak)" + + name[Group1] = "USA - International Coder Dvorak"; + + // Unmodified Shift AltGr Shift+AltGr + // symbols row, left side + key <TLDE> { [ dollar, asciitilde, dead_tilde, cent ] }; + key <AE01> { [ ampersand, percent, oslash, Ooblique ] }; + key <AE02> { [ bracketleft, 7, EuroSign, sterling ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key <AE03> { [ braceleft, 5, yen, currency ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key <AE04> { [ braceright, 3, dead_hook ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key <AE05> { [ parenleft, 1, dead_diaeresis ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key <AE06> { [ equal, 9, dead_cedilla ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + + // symbols row, right side + key <AE07> { [ asterisk, 0, dead_doublegrave ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key <AE08> { [ parenright, 2, dead_grave ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key <AE09> { [ plus, 4, dead_acute ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key <AE10> { [ bracketright, 6, dead_doubleacute ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key <AE11> { [ exclam, 8, exclamdown ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key <AE12> { [ numbersign, grave, dead_abovering, dead_belowring ] }; + key <BKSP> { [ BackSpace ] }; + + // upper row, left side + key <AD01> { [ semicolon, colon, adiaeresis, Adiaeresis ] }; + key <AD02> { [ comma, less, guillemotleft, degree ] }; + key <AD03> { [ period, greater, guillemotright, periodcentered ] }; + key <AD04> { [ p, P, odiaeresis, Odiaeresis ] }; + key <AD05> { [ y, Y, ediaeresis, Ediaeresis ] }; + + // upper row, right side + key <AD06> { [ f, F, udiaeresis, Udiaeresis ] }; + key <AD07> { [ g, G, idiaeresis, Idiaeresis ] }; + key <AD08> { [ c, C, ccedilla, Ccedilla ] }; + key <AD09> { [ r, R, registered, trademark ] }; + key <AD10> { [ l, L, ae, AE ] }; + key <AD11> { [ slash, question, questiondown ] }; + key <AD12> { [ at, asciicircum, dead_circumflex, dead_caron ] }; + key <BKSL> { [ backslash, bar, dead_abovedot, dead_belowdot ] }; + + // home row, left side + key <AC01> { [ a, A, agrave, Agrave ] }; + key <AC02> { [ o, O, ocircumflex, Ocircumflex] }; + key <AC03> { [ e, E, eacute, Eacute ] }; + key <AC04> { [ u, U, ugrave, Ugrave ] }; + key <AC05> { [ i, I, icircumflex, Icircumflex] }; + + // home row, right side + key <AC06> { [ d, D, eth, ETH ] }; + key <AC07> { [ h, H, paragraph, section ] }; + key <AC08> { [ t, T, thorn, THORN ] }; + key <AC09> { [ n, N, ntilde, Ntilde ] }; + key <AC10> { [ s, S, ssharp, aboveline ] }; + key <AC11> { [ minus, underscore, endash, emdash ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + + // lower row, left side + key <AB01> { [ apostrophe, quotedbl, acircumflex, Acircumflex] }; + key <AB02> { [ q, Q, oacute, Oacute ] }; + key <AB03> { [ j, J, egrave, Egrave ] }; + key <AB05> { [ x, X, idiaeresis, Idiaeresis ] }; + + // lower row, right side + key <AB06> { [ b, B, acircumflex, Acircumflex] }; + key <AB07> { [ m, M, ecircumflex, Ecircumflex] }; + key <AB11> { [ Shift, Shift, Shift, Shift ] }; + +}; @@ -95,7 +95,7 @@ alias wtau='sudo etherwake tau' alias pology='python $HOME/work/pology/scripts/posieve.py' alias daylog='dch --changelog /home/ryan/work/sail/drafts/daylog/daylog' alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg" -alias kbd="setxkbmap -layout us -variant icd -option -option lv3:ralt_switch_multikey -option ctrl:nocaps" +alias kbd="xkbcomp -I$HOME/.xkb $HOME/.xkb/keymap/icd $DISPLAY" # END LOCAL @@ -31,6 +31,7 @@ GLOBAL_FILES = \ .vim/ \ .vimrc \ .xinitrc \ + .xkb/ \ .xmobarrc \ .xmonad/ \ .zsh/ \ |