Add gopass-ydotool
This commit is contained in:
parent
a7f281f57e
commit
0a419379b6
6 changed files with 21 additions and 0 deletions
|
@ -77,6 +77,7 @@ in
|
|||
file
|
||||
gimp-with-plugins
|
||||
gopass
|
||||
gopass-ydotool
|
||||
htop
|
||||
httpie
|
||||
imagemagickBig
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
e = "exa --all --group-directories-first --long --header --time-style long-iso";
|
||||
mv = "mv --no-clobber --verbose";
|
||||
p = "gopass";
|
||||
pt = "gopass-ydotool";
|
||||
rm = "rm --one-file-system --verbose";
|
||||
watch = "watch --color";
|
||||
};
|
||||
|
|
|
@ -36,6 +36,7 @@ overrideUntilVersion {
|
|||
add-words = { };
|
||||
gh = { };
|
||||
gopass-await = { inherit (pkgs.gnome) zenity; };
|
||||
gopass-ydotool = { };
|
||||
iosevka-custom = { };
|
||||
mozjpeg-simple = { };
|
||||
off = { };
|
||||
|
|
|
@ -35,6 +35,7 @@ zstyle ':completion:*:functions' ignored-patterns '(_*|pre(cmd|exec))'
|
|||
zstyle ':completion:*:manuals' separate-sections 'true'
|
||||
zstyle ':completion:*:matches' group 'yes'
|
||||
zstyle ':completion:*:warnings' format '%B%F{8}# No matches%f'
|
||||
compdef '_values passwords $(gopass ls --flat)' gopass-ydotool
|
||||
|
||||
# Abbreviations
|
||||
source @zsh-abbr@
|
||||
|
|
13
packages/gopass-ydotool.nix
Normal file
13
packages/gopass-ydotool.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ resholve
|
||||
|
||||
# Dependencies
|
||||
, bash
|
||||
, gopass
|
||||
, ydotool
|
||||
}:
|
||||
|
||||
resholve.writeScriptBin "gopass-ydotool" {
|
||||
interpreter = "${bash}/bin/bash";
|
||||
inputs = [ gopass ydotool ];
|
||||
execer = [ "cannot:${gopass}/bin/gopass" ];
|
||||
} (builtins.readFile ./resources/gopass-ydotool)
|
4
packages/resources/gopass-ydotool
Normal file
4
packages/resources/gopass-ydotool
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
ydotool type --file <( gopass show --password "$1" )
|
Loading…
Reference in a new issue