Force set default keyboard layout

This commit is contained in:
Alice Gaudon 2021-02-17 11:14:39 +01:00
parent cd1f142003
commit 4b7ab5f5ff

View File

@ -132,6 +132,9 @@ if config.widgets.keyboard_layout.enabled then
end end
hotkey.registerKeys(keyboard_layout.getKeys(config.keys.global_keys.keyboard_layout)) hotkey.registerKeys(keyboard_layout.getKeys(config.keys.global_keys.keyboard_layout))
-- Force set default keyboard layout
awful.spawn(config.widgets.keyboard_layout.layout_switch_command .. ' ' .. config.widgets.keyboard_layout.layouts[1])
-- --
-- Auto start -- Auto start