Removed loadkeys.

This commit is contained in:
Sheldon Lee 2021-12-19 20:52:26 +08:00
parent aaeb9158a0
commit 4f9a07ae41

View File

@ -22,13 +22,11 @@ echo $option
case $option in case $option in
1*) 1*)
loadkeys us
cmd="setxkbmap us -option" cmd="setxkbmap us -option"
echo $cmd > $script_file echo $cmd > $script_file
$($cmd) $($cmd)
;; ;;
2*) 2*)
loadkeys colemak
cmd="setxkbmap us -variant colemak -option caps:ctrl_modifier -option altwin:swap_alt_win" cmd="setxkbmap us -variant colemak -option caps:ctrl_modifier -option altwin:swap_alt_win"
echo $cmd > $script_file echo $cmd > $script_file
$($cmd) $($cmd)