9fff205d46474f87fefca983ded56c95ab493657

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Change custom colemak binding to be appended to us keybind

Diff

This diff is truncated to protect this page.

  1diff --git a/custom_colemak b/custom_colemak
  2index 3082455e284a14540596e27037a5280234014d5c..6e6d780884ce3d9dab5d12b3c853d8420faa41eb 100644
  3--- a/custom_colemak
  4+++ b/custom_colemak
  5@@ -1,2008 +1,11 @@
  6-default partial alphanumeric_keys modifier_keys
  7-xkb_symbols "basic" {
  8 
  9-    name[Group1]= "English (US)";
 10-
 11-    key <TLDE> {	[     grave,	asciitilde	]	};
 12-    key <AE01> {	[	  1,	exclam 		]	};
 13-    key <AE02> {	[	  2,	at		]	};
 14-    key <AE03> {	[	  3,	numbersign	]	};
 15-    key <AE04> {	[	  4,	dollar		]	};
 16-    key <AE05> {	[	  5,	percent		]	};
 17-    key <AE06> {	[	  6,	asciicircum	]	};
 18-    key <AE07> {	[	  7,	ampersand	]	};
 19-    key <AE08> {	[	  8,	asterisk	]	};
 20-    key <AE09> {	[	  9,	parenleft	]	};
 21-    key <AE10> {	[	  0,	parenright	]	};
 22-    key <AE11> {	[     minus,	underscore	]	};
 23-    key <AE12> {	[     equal,	plus		]	};
 24-
 25-    key <AD01> {	[	  q,	Q 		]	};
 26-    key <AD02> {	[	  w,	W		]	};
 27-    key <AD03> {	[	  e,	E		]	};
 28-    key <AD04> {	[	  r,	R		]	};
 29-    key <AD05> {	[	  t,	T		]	};
 30-    key <AD06> {	[	  y,	Y		]	};
 31-    key <AD07> {	[	  u,	U		]	};
 32-    key <AD08> {	[	  i,	I		]	};
 33-    key <AD09> {	[	  o,	O		]	};
 34-    key <AD10> {	[	  p,	P		]	};
 35-    key <AD11> {	[ bracketleft,	braceleft	]	};
 36-    key <AD12> {	[ bracketright,	braceright	]	};
 37-
 38-    key <AC01> {	[	  a,	A 		]	};
 39-    key <AC02> {	[	  s,	S		]	};
 40-    key <AC03> {	[	  d,	D		]	};
 41-    key <AC04> {	[	  f,	F		]	};
 42-    key <AC05> {	[	  g,	G		]	};
 43-    key <AC06> {	[	  h,	H		]	};
 44-    key <AC07> {	[	  j,	J		]	};
 45-    key <AC08> {	[	  k,	K		]	};
 46-    key <AC09> {	[	  l,	L		]	};
 47-    key <AC10> {	[ semicolon,	colon		]	};
 48-    key <AC11> {	[ apostrophe,	quotedbl	]	};
 49-
 50-    key <AB01> {	[	  z,	Z 		]	};
 51-    key <AB02> {	[	  x,	X		]	};
 52-    key <AB03> {	[	  c,	C		]	};
 53-    key <AB04> {	[	  v,	V		]	};
 54-    key <AB05> {	[	  b,	B		]	};
 55-    key <AB06> {	[	  n,	N		]	};
 56-    key <AB07> {	[	  m,	M		]	};
 57-    key <AB08> {	[     comma,	less		]	};
 58-    key <AB09> {	[    period,	greater		]	};
 59-    key <AB10> {	[     slash,	question	]	};
 60-
 61-    key <BKSL> {	[ backslash,         bar	]	};
 62-};
 63-
 64-partial alphanumeric_keys
 65-xkb_symbols "euro" {
 66-
 67-    include "us(basic)"
 68-    name[Group1]= "English (US, euro on 5)";
 69-
 70-    include "eurosign(5)"
 71-
 72-    include "level3(ralt_switch)"
 73-};
 74-
 75-
 76-partial alphanumeric_keys
 77-xkb_symbols "ibm238l" {
 78-
 79-    include "us(basic)"
 80-    name[Group1]= "English (US, IBM Arabic 238_L)";
 81-
 82-    key <AB08> {        [     comma,    comma      ]       };
 83-    key <AB09> {        [    period,    period     ]       };
 84-    key <BKSL> {        [ quoteleft,    asciitilde ]       };
 85-    key <LSGT> {        [ backslash,    bar        ]       };
 86-    key <TLDE> {        [ leftcaret,    rightcaret ]       };
 87-};
 88-
 89-partial alphanumeric_keys
 90-xkb_symbols "intl" {
 91-
 92-    include "us(basic)"
 93-    name[Group1]= "English (US, intl., with dead keys)";
 94-
 95-    key <TLDE> { [dead_grave, dead_tilde,         grave,       asciitilde ] };
 96-    key <AE01> { [	   1,     exclam,    exclamdown,      onesuperior ] };
 97-    key <AE02> { [	   2,         at,   twosuperior, dead_doubleacute ] };
 98-    key <AE03> { [	   3, numbersign, threesuperior,      dead_macron ] };
 99-    key <AE04> { [	   4,     dollar,      currency,         sterling ] };
100-    key <AE05> { [	   5,    percent,      EuroSign,     dead_cedilla ] };
101-    key <AE06> { [    6, dead_circumflex,    onequarter,      asciicircum ] };
102-    key <AE07> { [	   7,  ampersand,       onehalf,	dead_horn ] };
103-    key <AE08> { [	   8,   asterisk, threequarters,      dead_ogonek ] };
104-    key <AE09> { [	   9,  parenleft, leftsinglequotemark, dead_breve ] };
105diff --git a/init.sh b/init.sh
106index bb2088d407bfd764b840589f2b041ef7723173ea..f0f4e7f9ed5193a5c6fb6dd86bd4f8bd8f8224f9 100755
107--- a/init.sh
108+++ b/init.sh
109@@ -24,7 +24,7 @@ git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ohmyzsh_custom}
110 git clone https://gitea.theedgeofrage.com/TheEdgeOfRage/boban-zsh ${ohmyzsh_custom}/themes/boban
111 
112 # Keyboard layout
113-sudo cp ./custom_colemak /usr/share/X11/xkb/symbols/custom
114+cat ./custom_colemak | sudo tee -a /usr/share/X11/xkb/symbols/us
115 
116 # SSH agent
117 sudo pacman -S gcr