Skip to content

Add support for Linux #5

@danarth

Description

@danarth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions