From 8dd7d72f3583241a411fc26683449b1dad340c61 Mon Sep 17 00:00:00 2001 From: John Gebbie Date: Mon, 30 Jan 2023 14:38:21 +0000 Subject: [PATCH] add keyboard layout sway config file --- dotool.sway | 2 ++ install.sh | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 dotool.sway 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