25 lines
348 B
Lua
25 lines
348 B
Lua
local bind = require("lua.lib.bind")
|
|
|
|
local M = {}
|
|
|
|
M.binds = {
|
|
{
|
|
keys = bind.with_leader("CTRL + E"),
|
|
dispatcher = hl.dsp.exec_cmd("pkill fcitx5 -9;sleep 1;fcitx5 -d"),
|
|
desc = "restart fcitx5",
|
|
},
|
|
}
|
|
|
|
M.autostart = {
|
|
function()
|
|
hl.exec_cmd("fcitx5 -d")
|
|
end,
|
|
}
|
|
|
|
M.envs = {
|
|
QT_IM_MODULE = "fcitx",
|
|
XMODIFIERS = "@im=fcitx",
|
|
}
|
|
|
|
return M
|