diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-06-08 16:58:48 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-06-08 16:58:48 +0100 |
commit | 368dfd19f18bb82a9c67abeb454d45ea5384febc (patch) | |
tree | 3a05c203beef2ac61342612409b5476bda47091d | |
parent | b4013397618a45a637f759f466eff7baf9100736 (diff) |
Disbale Caps lock completely
-rwxr-xr-x | bin/bin/keyboard | 2 | ||||
-rwxr-xr-x | git/.git_template/hooks/ctags | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/bin/bin/keyboard b/bin/bin/keyboard index e0cf952..11b13d1 100755 --- a/bin/bin/keyboard +++ b/bin/bin/keyboard @@ -22,7 +22,7 @@ xcape -e 'Mode_switch=Multi_key' # Make Caps_Lock (Control_L, Escape) xmodmap -e "clear Lock" -xmodmap -e "keysym Caps_Lock = Control_L Caps_Lock" +xmodmap -e "keysym Caps_Lock = Control_L Control_L" xmodmap -e "add Control = Control_L" xcape -e 'Control_L=Escape' diff --git a/git/.git_template/hooks/ctags b/git/.git_template/hooks/ctags index a9a2150..6fc53b6 100755 --- a/git/.git_template/hooks/ctags +++ b/git/.git_template/hooks/ctags @@ -1,8 +1,7 @@ #!/bin/sh set -e PATH="/usr/local/bin:$PATH" -dir="`git rev-parse --git-dir`" +dir="$(git rev-parse --git-dir)" trap 'rm -f "$dir/$$.tags"' EXIT git ls-files | ctags --tag-relative -L - -f"$dir/$$.tags" --languages=-javascript,sql mv "$dir/$$.tags" "$dir/tags" - |