update: add cliphist module
This commit is contained in:
@@ -18,6 +18,7 @@ settings["modules"] = {
|
|||||||
waybar = true,
|
waybar = true,
|
||||||
swaync = true,
|
swaync = true,
|
||||||
swayosd = true,
|
swayosd = true,
|
||||||
|
cliphist = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
return require("lua.lib.utils").extend_config(settings, "lua.user.settings")
|
return require("lua.lib.utils").extend_config(settings, "lua.user.settings")
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
local M = {}
|
||||||
|
|
||||||
|
local function start_wl_clipboard()
|
||||||
|
hl.exec_cmd("wl-paste --watch cliphist store")
|
||||||
|
end
|
||||||
|
|
||||||
|
M.autostart = {
|
||||||
|
start_wl_clipboard,
|
||||||
|
}
|
||||||
|
|
||||||
|
return M
|
||||||
Reference in New Issue
Block a user