dotfiles/.xserverrc
2022-04-23 07:34:27 +02:00

8 lines
218 B
Bash

#!/bin/sh
# exec /usr/bin/X -nolisten tcp "$@"
if [ -z "$XDG_VTNR" ]; then
exec /usr/bin/X -nolisten tcp "$@" +accessx 0 0x1e 0 0xcef
else
exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR +accessx 0 0x1e 0 0xcef
fi