aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/source
diff options
context:
space:
mode:
authorkrolyxon <me@krolyxon.com>2026-08-16 11:59:17 +0530
committerkrolyxon <me@krolyxon.com>2026-08-16 11:59:17 +0530
commit7ed7c220755162ef321e07eaf6634af27674e6e7 (patch)
tree0bcb33bd9bb22298e09bb8b0cdf971c865c40dbd /.config/hypr/source
parentcf3613e124819a4ebf665b57eba0bea0a01c51cb (diff)
hyprland: add cliphist as clipboard manager
Diffstat (limited to '.config/hypr/source')
-rw-r--r--.config/hypr/source/keybinds.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/hypr/source/keybinds.lua b/.config/hypr/source/keybinds.lua
index b16b299..7a1f11e 100644
--- a/.config/hypr/source/keybinds.lua
+++ b/.config/hypr/source/keybinds.lua
@@ -57,6 +57,8 @@ hl.bind(mainMod .. " + l", hl.dsp.window.resize({ x = 30, y = 0, relative = true
hl.bind(mainMod .. " + k", hl.dsp.window.resize({ x = 0, y = -30, relative = true }), { repeating = true })
hl.bind(mainMod .. " + j", hl.dsp.window.resize({ x = 0, y = 30, relative = true }), { repeating = true })
+-- Clipboard menu (cliphist)
+hl.bind(mainMod .. " + v", hl.dsp.exec_cmd("sh -c \"cliphist list | fuzzel --dmenu --with-nth 2 | cliphist decode | wl-copy\""))
-- -----------------------------------------------------
-- Workspace switching