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

View File

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