dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 2e2889ebd4e98f8a8a8fbbde9cc5b1585a68bbb8
parent a9b8aac683a552428d3dce925b4f3fda77baa032
Author: Chris Bracken <chris@bracken.jp>
Date:   Tue, 20 May 2014 00:03:45 -0700

Use setxkbmap for caps->ctrl remapping so it works regardless of WM

Diffstat:
M.profile | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.profile b/.profile @@ -22,6 +22,11 @@ if [ -n "$BASH_VERSION" ]; then fi fi +# Remap caps lock to ctrl +if [ -n "$DISPLAY" ] && [ -x "`which setxkbmap`" ]; then + setxkbmap -option ctrl:nocaps +fi + # login message if [ -x /usr/games/fortune ]; then /usr/games/fortune