update: add cliphist module

This commit is contained in:
wyj committed 2026-05-28 03:34:22 -04:00
1 parent b316a18464
commit 198ecb119d
2 files changed
+12

No files matched your search

+1
View File
@@ -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")
+11
View File
@@ -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