(desktop) Gen 459: Added keyring bind to hyprland config, along with a script for it. Super + P

This commit is contained in:
pagedMov
2024-10-13 23:55:46 -04:00
parent 883301de37
commit f12238962e
7 changed files with 25 additions and 10 deletions

View File

@@ -0,0 +1,11 @@
{ self, pkgs, ... }:
pkgs.writeShellScriptBin "passhelper" (''
#!/run/current-system/sw/bin/bash
pass_string=$(find $HOME/.password-store -type f | sed 's|.*/.password-store/||; s|\.gpg$||' | rg -v ".gpg-id$" | fzf)
pass -c "$pass_string"
sleep 1.5
exit 0
'')