diff options
| author | stkhan <personal@slickd.xyz> | 2022-05-13 18:15:43 +0000 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2022-05-13 18:15:43 +0000 |
| commit | 2e81fbdf15168a5b6df291b7062d120156a5ce45 (patch) | |
| tree | 57de36552c6f46e43d8520ccf65acb80ef5f6c29 /dwm-6.3/scripts/passmenu | |
| parent | 7a93f153bf5e088ab6e2da6fcc0518744cfd54af (diff) | |
Removed dwm scripts, sfm, , added scroll, and added dark theme to surf
Diffstat (limited to 'dwm-6.3/scripts/passmenu')
| -rwxr-xr-x | dwm-6.3/scripts/passmenu | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dwm-6.3/scripts/passmenu b/dwm-6.3/scripts/passmenu deleted file mode 100755 index 76d92ab..0000000 --- a/dwm-6.3/scripts/passmenu +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env bash - -shopt -s nullglob globstar - -typeit=0 -if [[ $1 == "--type" ]]; then - typeit=1 - shift -fi - -if [[ -n $WAYLAND_DISPLAY ]]; then - dmenu=dmenu-wl - xdotool="ydotool type --file -" -elif [[ -n $DISPLAY ]]; then - dmenu=dmenu - xdotool="xdotool type --clearmodifiers --file -" -else - echo "Error: No Wayland or X11 display detected" >&2 - exit 1 -fi - -prefix=${PASSWORD_STORE_DIR-~/.password-store} -password_files=( "$prefix"/**/*.gpg ) -password_files=( "${password_files[@]#"$prefix"/}" ) -password_files=( "${password_files[@]%.gpg}" ) - -password=$(printf '%s\n' "${password_files[@]}" | "$dmenu" "$@") - -[[ -n $password ]] || exit - -if [[ $typeit -eq 0 ]]; then - pass show -c "$password" 2>/dev/null -else - pass show "$password" | { IFS= read -r pass; printf %s "$pass"; } | $xdotool -fi |