From 7ed7c220755162ef321e07eaf6634af27674e6e7 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Sun, 16 Aug 2026 11:59:17 +0530 Subject: hyprland: add cliphist as clipboard manager --- .config/hypr/hyprland.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.config/hypr/hyprland.lua') diff --git a/.config/hypr/hyprland.lua b/.config/hypr/hyprland.lua index e57e527..689e6ac 100644 --- a/.config/hypr/hyprland.lua +++ b/.config/hypr/hyprland.lua @@ -10,13 +10,14 @@ HOME = os.getenv("HOME") -- Theme (pywal) -dofile(HOME .. "/.cache/wal/colors.lua") +dofile(HOME .. "/.cache/wal/hyprland-colors.lua") -- ----------------------------------------------------- -- Autostart -- ----------------------------------------------------- - hl.on("hyprland.start", function() + hl.exec_cmd("wl-paste --type text --watch cliphist store") + hl.exec_cmd("wl-paste --type image --watch cliphist store") hl.exec_cmd("hyprpm reload -n") hl.exec_cmd("kanshi") hl.exec_cmd("waybar") @@ -30,7 +31,6 @@ end) -------------------------------------------------- -- Plugins -------------------------------------------------- - package.path = package.path .. ";./?.lua;./?/init.lua" smw = require("plugins.split-monitor-workspaces") smw.setup({ @@ -50,7 +50,6 @@ require("source.keybinds") -------------------------------------------------- -- Window rules -------------------------------------------------- - hl.window_rule({ name = "suppress-maximize-events", -- cgit v1.2.3