Archived
2
0

us mac variant #45.

This commit is contained in:
m1k1o 2021-04-07 22:50:40 +02:00
parent 1a09442f26
commit e5ca4ac184

View File

@ -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()