diff --git a/bin/fzf-pass-inner.sh b/bin/fzf-pass-inner.sh index 4fd3554..3b86466 100755 --- a/bin/fzf-pass-inner.sh +++ b/bin/fzf-pass-inner.sh @@ -5,7 +5,7 @@ if [ -z "$ENTRY" ]; then exit 1 fi PASSENTRY=$(pass "$ENTRY") -builtin echo "$PASSENTRY" | head -n1 | nohup wl-copy -f -n & +builtin echo "$PASSENTRY" | head -n1 | nohup wl-copy -f -n --sensitive & WLCOPY_PID=$! disown -h nohup bash -c "sleep 30s; kill $WLCOPY_PID" & diff --git a/pkgs/default.nix b/pkgs/default.nix index e1d6a25..5f9b23d 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -45,5 +45,13 @@ }; xwaylandvideobridge = self.callPackage ./xwaylandvideobridge.nix {}; timesync = self.flake-inputs.timesync.packages.${self.system}.default; + wl-clipboard = super.wl-clipboard.overrideAttrs (o: { + patches = (o.patches or []) ++ [ + (self.fetchpatch { + url = "https://puck.moe/up/zapap-suhih.patch"; + hash = "sha256-YiFDeBN1k2+lxVnWnU5sMpIJ7/zsVPEm5OZf0nHhzJA="; + }) + ]; + }); })