mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
us mac variant #45.
This commit is contained in:
parent
1a09442f26
commit
e5ca4ac184
@ -249,7 +249,7 @@ func (manager *RemoteManager) SetKeyboardLayout(layout string) {
|
|||||||
// When pressing `shift` + `,` instead of `<` comes `>`.
|
// When pressing `shift` + `,` instead of `<` comes `>`.
|
||||||
variant := ""
|
variant := ""
|
||||||
if layout == "us" {
|
if layout == "us" {
|
||||||
variant = "intl"
|
variant = "mac" // TODO: Test all keys.
|
||||||
}
|
}
|
||||||
|
|
||||||
exec.Command("setxkbmap", layout, variant).Run()
|
exec.Command("setxkbmap", layout, variant).Run()
|
||||||
|
Loading…
Reference in New Issue
Block a user