profile: check for existence of numlockx

This commit is contained in:
Aminda Suomalainen 2018-09-06 13:22:15 +03:00
parent f17b8ee1df
commit 556deb069f
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS;
ulimit -c unlimited
# Numlock on at boot
numlockx on
if hash numlockx 2>/dev/null; then
numlockx on
fi
# Workaround disappearing cursors, probably no harm in any case
export XCURSOR_DISCOVER=1