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 + '' + ) + ]; }; }