Skip to content
New issue

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

Add support for Linux #5

Open
danarth opened this issue Mar 25, 2024 · 2 comments
Open

Add support for Linux #5

danarth opened this issue Mar 25, 2024 · 2 comments

Comments

@danarth
Copy link

danarth commented Mar 25, 2024

From what I can tell, this plugin only works for MacOS - would there be any appetite for me to add support for Linux?

For example, using setxkbmap and awk I can get my keyboard layout:

> setxkbmap -query | awk '/layout/ {print $2}'
gb

We could add an if statement to get_keyboard_layout.sh to check the OS of the user and return the correct keyboard layout based on the user's OS

@imomaliev
Copy link
Owner

imomaliev commented Mar 25, 2024

Hi, yeah, it should be supported. There is already PR #4 for this, but I forgot to review it 🤦‍♂️. Can you please check if it works for you? If everything ok, I will merge it

@danarth
Copy link
Author

danarth commented Mar 26, 2024

No worries thanks for the quick response! I had a look at that PR and I don't think that will work for me. I am happy to add some comments to that PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants