pass: set x-kde-passwordManagerHint to sensitive

master
Yorick van Pelt 2023-05-22 11:48:01 +02:00
parent aab0617367
commit 300c2b3310
Signed by: yorick
GPG Key ID: D8D3CC6D951384DE
2 changed files with 9 additions and 1 deletions

View File

@ -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" &

View File

@ -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=";
})
];
});
})