summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-08-27 12:50:31 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-08-27 12:50:31 -0400
commit969070e01c816b983b506c29aaecb75ce66da24f (patch)
tree399c91ac3be97139e9d0795b69634c6a1ffe4903 /.profile
parent98abc0921710524938fd24b5a9dd4a4ad0bea593 (diff)
downloadeibhear-969070e01c816b983b506c29aaecb75ce66da24f.tar.gz
eibhear-969070e01c816b983b506c29aaecb75ce66da24f.tar.zst
eibhear-969070e01c816b983b506c29aaecb75ce66da24f.zip
if can sudo loadkeys, remap caps/esc in tty
Diffstat (limited to '.profile')
-rw-r--r--.profile5
1 files changed, 5 insertions, 0 deletions
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
+