Merge branch 'master' of github.com:sheldonmlee/dotfiles

This commit is contained in:
Sheldon Lee 2021-12-29 03:25:50 +08:00
commit 79084a4132

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)