From 969070e01c816b983b506c29aaecb75ce66da24f Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 27 Aug 2018 12:50:31 -0400 Subject: if can sudo loadkeys, remap caps/esc in tty --- .profile | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.profile') diff --git a/.profile b/.profile index 9953967..6a385c1 100644 --- 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 + -- cgit v1.3.1