From 596ba3ecf32b543cefec1d576f4cce8ebea3731b Mon Sep 17 00:00:00 2001 From: Eduardo Cuducos Date: Wed, 8 Jul 2026 11:13:05 -0400 Subject: [PATCH] Adds clipboard picker key bind in Hyprland --- .config/hypr/hyprland.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/hypr/hyprland.lua b/.config/hypr/hyprland.lua index 965c734..443a3f5 100644 --- a/.config/hypr/hyprland.lua +++ b/.config/hypr/hyprland.lua @@ -99,6 +99,7 @@ hl.bind( hl.bind(mod .. " + SHIFT + Space", hl.dsp.exec_cmd("qalculate-gtk")) hl.bind(mod .. " + p", hl.dsp.exec_cmd("hyprpicker -a")) +hl.bind(mod .. " + c", hl.dsp.exec_cmd("ghostty --class=com.mitchellh.ghostty.chx -e fish -C 'chx; exit'")) hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume --limit 1.0 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true }) hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true, repeating = true }) @@ -130,6 +131,13 @@ hl.window_rule({ center = true, }) +hl.window_rule({ + match = { class = "com.mitchellh.ghostty.chx" }, + float = true, + center = true, + size = { 800, 500 }, +}) + local monitors = os.getenv("HOME") .. "/.config/hypr/monitors.lua" local f = io.open(monitors, "r") if f then -- knotmirror 0.0.1