diff --git a/sway/scripts/remote.sh b/sway/scripts/remote.sh index a3bd00b..1cb5de1 100755 --- a/sway/scripts/remote.sh +++ b/sway/scripts/remote.sh @@ -6,11 +6,11 @@ if [ "$1" = "btn1" ]; then if [ "$active_window" = "anki" ]; then wtype " " elif [ "$active_window" = "foot" ]; then - wtype -M ctrl -M shift -k c - wtype -m ctrl + wtype -M ctrl -M shift -k c -m ctrl -m shift + elif [ "$active_window" = "chromium-browser" ]; then + wtype -M alt -P right -p right -m alt else - wtype -M ctrl -k c - wtype -m ctrl + wtype -M ctrl -k c -m ctrl fi else if [ "$active_window" = "anki" ]; then @@ -18,6 +18,8 @@ else elif [ "$active_window" = "foot" ]; then wtype -M ctrl -M shift -k v wtype -m ctrl + elif [ "$active_window" = "chromium-browser" ]; then + wtype -M alt -P left -p left -m alt else wtype -M ctrl -k v wtype -m ctrl