From 2248c74519b018e686f4d475a30b884afa361e2e Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 18 Dec 2020 20:12:02 +0000 Subject: [PATCH] Alias: changes kb to keys I would like to use kb for a new tool I'm making. --- shells/shared/aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shells/shared/aliases b/shells/shared/aliases index ae54ef7f..e59f151d 100644 --- a/shells/shared/aliases +++ b/shells/shared/aliases @@ -219,7 +219,7 @@ fi # Keyboard - reset # Sometimes, if I turn the screens off, the keyboard resets itself to defaults. Not sure why but this will put my keyboard back to how I like it #alias kb="xmodmap ~/.Xmodmap; xset r rate 200 70; xcape" -alias kb="setxkbmap -layout gb,gb -variant \"colemak,\" -option grp:shifts_toggle; xset r rate 200 70; xinput --list | grep -Ei 'ErgoDox EZ\s+id' | grep -oE 'id=[0-9]+' | cut -d'=' -f2 | xargs -r setxkbmap -layout gb -device" +alias keys="setxkbmap -layout gb,gb -variant \"colemak,\" -option grp:shifts_toggle; xset r rate 200 70; xinput --list | grep -Ei 'ErgoDox EZ\s+id' | grep -oE 'id=[0-9]+' | cut -d'=' -f2 | xargs -r setxkbmap -layout gb -device" alias colemak="setxkbmap -layout gb,gb -variant \"colemak,\" -option grp:shifts_toggle" alias qwerty="setxkbmap -layout gb"