diff options
author | EuAndreh <eu@euandre.org> | 2023-02-22 20:58:20 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-02-22 20:58:20 -0300 |
commit | 45f653a96979fc7b2cede60ec40e9482cab8c1b8 (patch) | |
tree | a82938164c4f49f8972044f34fba32cba7807249 | |
parent | etc/guix/home.scm: Use "clipmenu-latest" package (diff) | |
download | dotfiles-45f653a96979fc7b2cede60ec40e9482cab8c1b8.tar.gz dotfiles-45f653a96979fc7b2cede60ec40e9482cab8c1b8.tar.xz |
bin/menu: Disable clipmenu when copying passwords
-rwxr-xr-x | bin/menu | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -130,6 +130,8 @@ case "$ACTION" in password) CHOICE="$(pass_list | show 'password')" if [ -n "$CHOICE" ]; then + trap 'clipctl enable' EXIT + clipctl disable if pass show -c1 "$CHOICE"; then notify-send -t 5000 -u critical -- \ "$CHOICE" 'password copied to clipboard' |