From 44a43664da67d0154577512d5cbe25aa8b186a30 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Mon, 1 Sep 2025 19:05:18 +0200 Subject: [PATCH] copy file to clipboard script --- modules/graphical/hyprland.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/graphical/hyprland.nix b/modules/graphical/hyprland.nix index b026e81..66471cb 100644 --- a/modules/graphical/hyprland.nix +++ b/modules/graphical/hyprland.nix @@ -71,6 +71,11 @@ in { #waybar #xdg-utils #xwayland + (writeShellScriptBin "copyfiletoclip" '' + echo "file://$(realpath $1)" | wl-copy -t text/uri-list + '' + ) + ]; }; }