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 + diff --git a/.scripts/ttymaps.kmap b/.scripts/ttymaps.kmap new file mode 100644 index 0000000..51a7042 --- /dev/null +++ b/.scripts/ttymaps.kmap @@ -0,0 +1,2 @@ +keycode 1 = Caps_Lock +keycode 58 = Escape