mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
if can sudo loadkeys, remap caps/esc in tty
This commit is contained in:
parent
98abc09217
commit
969070e01c
5
.profile
5
.profile
@ -17,3 +17,8 @@ export BIB="$HOME/Documents/LaTeX/uni.bib"
|
|||||||
if [[ "$(tty)" = "/dev/tty1" ]]; then
|
if [[ "$(tty)" = "/dev/tty1" ]]; then
|
||||||
pgrep -x i3 || exec startx
|
pgrep -x i3 || exec startx
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Switch escape and caps and use wal colors if tty:
|
||||||
|
sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null
|
||||||
|
wal -Rn
|
||||||
|
|
||||||
|
|||||||
2
.scripts/ttymaps.kmap
Normal file
2
.scripts/ttymaps.kmap
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
keycode 1 = Caps_Lock
|
||||||
|
keycode 58 = Escape
|
||||||
Loading…
x
Reference in New Issue
Block a user