Ignore capslock key with setxkbmap
This commit is contained in:
parent
797a2bec39
commit
359f49402f
@ -1,5 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Disable capslock
|
||||
if [[ -x `which setxkbmap` ]]; then
|
||||
setxkbmap -option ctrl:nocaps
|
||||
fi
|
||||
|
||||
# don't put duplicate lines in the history. See bash(1) for more options
|
||||
# ... or force ignoredups and ignorespace
|
||||
HISTCONTROL=ignoredups:ignorespace
|
||||
|
||||
Loading…
Reference in New Issue
Block a user