forked from Shinonome/dots-hyprland
Allow OSK keyboard for German and Russian variants
This commit is contained in:
@@ -109,7 +109,7 @@ Singleton {
|
|||||||
root.currentLayoutName = dataString.substring(dataString.indexOf(",") + 1);
|
root.currentLayoutName = dataString.substring(dataString.indexOf(",") + 1);
|
||||||
|
|
||||||
// Update layout for on-screen keyboard (osk)
|
// Update layout for on-screen keyboard (osk)
|
||||||
Config.options.osk.layout = root.currentLayoutName
|
Config.options.osk.layout = root.currentLayoutName.split(" (")[0];
|
||||||
} else if (event.name == "configreloaded") {
|
} else if (event.name == "configreloaded") {
|
||||||
// Mark layout code list to be updated when config is reloaded
|
// Mark layout code list to be updated when config is reloaded
|
||||||
root.needsLayoutRefresh = true;
|
root.needsLayoutRefresh = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user