We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/swaywm/sway
this configuration works for me on Sway:
"vim.autoSwitchInputMethod.defaultIM": "0", "vim.autoSwitchInputMethod.obtainIMCmd": "/home/user/.config/sway/get-im.sh", "vim.autoSwitchInputMethod.switchIMCmd": "/home/user/.config/sway/set-im.sh {im}", "vim.autoSwitchInputMethod.enable": true,
❯ cat ~/.config/sway/get-im.sh #!/bin/sh source $(dirname "$0")/.env swaymsg -t get_inputs | jq -r "[.[] | select(.identifier == \"$KEYBOARD\")][0] | .xkb_active_layout_index"
❯ cat ~/.config/sway/set-im.sh #!/bin/sh source $(dirname "$0")/.env swaymsg input "$KEYBOARD" xkb_switch_layout "$1"
❯ cat ~/.config/sway/.env # swaymsg -t get_inputs KEYBOARD='6700:8484:SEM_USB_Keyboard'
The text was updated successfully, but these errors were encountered:
What is sway?
Sorry, something went wrong.
Add it to README?
No branches or pull requests
https://github.com/swaywm/sway
this configuration works for me on Sway:
The text was updated successfully, but these errors were encountered: