diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-03-06 09:12:45 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-03-06 09:12:45 +0800 |
commit | 7b216a5bd117a048283acae113253e19f905e6dc (patch) | |
tree | d8b36589b0ec33412b8a0b3a998b825882115075 /X11/rofi | |
parent | 1aca31103361b456c33e99fa46e54e7a7821fa71 (diff) |
Improve pass script
Diffstat (limited to 'X11/rofi')
-rwxr-xr-x | X11/rofi/pass.get | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/X11/rofi/pass.get b/X11/rofi/pass.get index 9aaf542..18230fe 100755 --- a/X11/rofi/pass.get +++ b/X11/rofi/pass.get | |||
@@ -48,7 +48,10 @@ if [ -n "$RESULT" ]; then | |||
48 | coproc ( rofi -e "Copied: $1$EXTRA" ) | 48 | coproc ( rofi -e "Copied: $1$EXTRA" ) |
49 | 49 | ||
50 | elif [ -f "$HOME/.password-store/$1.gpg" ]; then | 50 | elif [ -f "$HOME/.password-store/$1.gpg" ]; then |
51 | coproc ( rofi -e "GPG passphase is not chached" ) | 51 | coproc ( |
52 | rofi -e "GPG passphase is not chached" \ | ||
53 | -theme-str '#window { font: "hacker 40"; }' | ||
54 | ) | ||
52 | else | 55 | else |
53 | # Password doesn't exist yet | 56 | # Password doesn't exist yet |
54 | # Go to next rofi execution | 57 | # Go to next rofi execution |