From 403023c096dcd81a0c5f3c7d83951a3f7c9c707a Mon Sep 17 00:00:00 2001 From: The_miro Date: Sat, 4 Jul 2026 14:48:49 +0200 Subject: [PATCH] feat(hyprlua): float filepicker-to-clipboard dialog via +centered tag Prefix the Super+F / Super+Shift+F filepicker binds with [tag +centered] so the zenity dialog spawns as a centered floating window (60% x 60%), matching the centered rule in windowrules.lua. Same tagged-spawn mechanism as Super+U. Co-Authored-By: Claude Opus 4.8 --- desktopenvs/hyprlua/hypr/usr/binds.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktopenvs/hyprlua/hypr/usr/binds.lua b/desktopenvs/hyprlua/hypr/usr/binds.lua index 4c68fa6..9812f40 100644 --- a/desktopenvs/hyprlua/hypr/usr/binds.lua +++ b/desktopenvs/hyprlua/hypr/usr/binds.lua @@ -52,8 +52,8 @@ hl.bind(mainMod .. " + SHIFT + R", hl.dsp.exec_cmd("wofi --show drun")) hl.bind("CTRL + SHIFT + R", hl.dsp.exec_cmd(menu)) -- File picker dialog -> clipboard (path / contents) -hl.bind(mainMod .. " + F", hl.dsp.exec_cmd("~/.config/scripts/filepicker-clipboard.sh path")) -hl.bind(mainMod .. " + SHIFT + F", hl.dsp.exec_cmd("~/.config/scripts/filepicker-clipboard.sh content")) +hl.bind(mainMod .. " + F", hl.dsp.exec_cmd("[tag +centered] ~/.config/scripts/filepicker-clipboard.sh path")) +hl.bind(mainMod .. " + SHIFT + F", hl.dsp.exec_cmd("[tag +centered] ~/.config/scripts/filepicker-clipboard.sh content")) -- old: -- hl.bind(mainMod .. " + F", hl.dsp.exec_cmd("~/.config/scripts/wofi-file-search.sh")) -- hl.bind(mainMod .. " + SHIFT + F", hl.dsp.exec_cmd("~/.config/scripts/foldersearch.sh"))