Preserve inherited input keys and later keyboard changes
This commit is contained in:
1 parent
cd0025b62f
commit
0f14a84934
4 files changed
+22
-4
No files matched your search
@@ -31,7 +31,9 @@ end
|
||||
|
||||
function keyboard.installed()
|
||||
local values = keyboard.vconsole()
|
||||
if read_values("/etc/omarchy/input-method").XKB_LAYOUT == "kr" then
|
||||
if read_values("/etc/omarchy/input-method").XKB_LAYOUT == "kr"
|
||||
and (values.XKBLAYOUT or "us") == "us"
|
||||
and (values.XKBVARIANT or "") == "" then
|
||||
values.XKBLAYOUT, values.XKBVARIANT = "kr", ""
|
||||
end
|
||||
return values
|
||||
|
||||
Reference in new issue
Block a user