dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 969070e01c816b983b506c29aaecb75ce66da24f
parent 98abc0921710524938fd24b5a9dd4a4ad0bea593
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 27 Aug 2018 12:50:31 -0400

if can sudo loadkeys, remap caps/esc in tty

Diffstat:
M.profile | 5+++++
A.scripts/ttymaps.kmap | 2++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/.profile b/.profile @@ -17,3 +17,8 @@ export BIB="$HOME/Documents/LaTeX/uni.bib" if [[ "$(tty)" = "/dev/tty1" ]]; then pgrep -x i3 || exec startx fi + +# Switch escape and caps and use wal colors if tty: +sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null +wal -Rn + diff --git a/.scripts/ttymaps.kmap b/.scripts/ttymaps.kmap @@ -0,0 +1,2 @@ +keycode 1 = Caps_Lock +keycode 58 = Escape