49 lines
1.1 KiB
Lua
49 lines
1.1 KiB
Lua
local bind = require("lua.lib.bind")
|
|
local colorscheme = require("lua.conf.colorscheme")
|
|
|
|
local M = {}
|
|
|
|
M.autostart = {
|
|
function ()
|
|
hl.exec_cmd("hyprctl plugin load /usr/lib/hyprland-plugins/hyprexpo.so")
|
|
end
|
|
}
|
|
|
|
M.confs = {
|
|
plugin = {
|
|
hyprexpo = {
|
|
columns = 3,
|
|
gap_size = 5,
|
|
gap_size_outer = 0,
|
|
bg_col = colorscheme.background,
|
|
workspace_method = "center current",
|
|
skip_empty = false,
|
|
max_workspace = 0,
|
|
show_workspace_numbers = false,
|
|
workspace_number_color = colorscheme.foreground,
|
|
window_icon_enable = false,
|
|
window_icon_position = "bottom-right",
|
|
window_icon_size = 32,
|
|
label_enable = false,
|
|
label_text_mode = "id",
|
|
label_token_map = "",
|
|
selection_label_enable = false,
|
|
selection_label_token_map = "a,s,d,f,g,q,w,e,r,t,z,x,c,v,b",
|
|
gesture_distance = 300,
|
|
cancel_key = "escape",
|
|
},
|
|
},
|
|
}
|
|
|
|
M.binds = {
|
|
{
|
|
keys = bind.with_leader("F3"),
|
|
dispatcher = function()
|
|
hl.plugin.hyprexpo.expo("toggle")
|
|
end,
|
|
desc = "Toggle hyprexpo"
|
|
},
|
|
}
|
|
|
|
return M
|