diff --git a/dotool.sway b/dotool.sway new file mode 100644 index 0000000..6e7e6ba --- /dev/null +++ b/dotool.sway @@ -0,0 +1,2 @@ +# This can stop dotool typing guff if you are using a non-us keyboard layout. +input "18193:2069:dotool_keyboard" xkb_layout "us" diff --git a/install.sh b/install.sh index bcc8c6e..b409278 100755 --- a/install.sh +++ b/install.sh @@ -8,4 +8,6 @@ mkdir -p "$1/etc/udev/rules.d" || exit cp -v 80-dotool.rules "$1/etc/udev/rules.d" || exit mkdir -p "$1/usr/share/X11/xorg.conf.d" || exit cp -v 50-dotool.conf "$1/usr/share/X11/xorg.conf.d" || exit +mkdir -p "$1/etc/sway/config.d" || exit +cp -v dotool.sway "$1/etc/sway/config.d/dotool" || exit udevadm trigger