diff --git a/.zshrc b/.zshrc index 16a6592..58b0726 100644 --- a/.zshrc +++ b/.zshrc @@ -106,3 +106,8 @@ setopt share_history setopt list_types setopt mark_dirs setopt path_dirs + +#Set caps to escape when tapped and ctrl when held +setxkbmap -option 'caps:ctrl_modifier' +xcape -e 'Caps_Lock=Escape' + diff --git a/init.sh b/init.sh index 58b692c..682943b 100755 --- a/init.sh +++ b/init.sh @@ -1,7 +1,7 @@ #!/bin/bash #install pre-req. echo "installing required packages" -sudo apt-get install tmux zsh vim powerline +sudo apt-get install tmux zsh vim powerline xcape #remove existing configs, if they exist rm -ri ~/.tmux.conf rm -ri ~/.zsh-custom