diff options
| author | krolyxon <me@krolyxon.com> | 2026-08-16 11:59:17 +0530 |
|---|---|---|
| committer | krolyxon <me@krolyxon.com> | 2026-08-16 11:59:17 +0530 |
| commit | 7ed7c220755162ef321e07eaf6634af27674e6e7 (patch) | |
| tree | 0bcb33bd9bb22298e09bb8b0cdf971c865c40dbd /.config/hypr/hyprland.lua | |
| parent | cf3613e124819a4ebf665b57eba0bea0a01c51cb (diff) | |
hyprland: add cliphist as clipboard manager
Diffstat (limited to '.config/hypr/hyprland.lua')
| -rw-r--r-- | .config/hypr/hyprland.lua | 7 |
1 files changed, 3 insertions, 4 deletions
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", |
