about summary refs log tree commit diff
path: root/pkgs/sternenseemann
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-06-23 12:30:14 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-06-23 12:30:14 +0200
commit79018abc160a7dbe007eb3cc5e50cced0ca6fed6 (patch)
treec727c85b259d589539bbe38e58d74cab38a41895 /pkgs/sternenseemann
parent1cc9d57471e5a68ce4b63c62b82b4743acbdddfc (diff)
pkgs/sternenseemann/pass: remove unused patch file
Diffstat (limited to 'pkgs/sternenseemann')
-rw-r--r--pkgs/sternenseemann/patches/passmenu-wayland.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/pkgs/sternenseemann/patches/passmenu-wayland.patch b/pkgs/sternenseemann/patches/passmenu-wayland.patch
deleted file mode 100644
index ef2f3a10..00000000
--- a/pkgs/sternenseemann/patches/passmenu-wayland.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff --git a/contrib/dmenu/README.md b/contrib/dmenu/README.md
-index 9d54fb4..c5d0191 100644
---- a/contrib/dmenu/README.md
-+++ b/contrib/dmenu/README.md
-@@ -4,6 +4,8 @@ clipboard without having to open up a terminal window if you don't already have
- one open. If `--type` is specified, the password is typed using [xdotool][]
- instead of copied to the clipboard.
- 
-+On wayland [bemenu][] is used to replace dmenu.
-+
- # Usage
- 
-     passmenu [--type] [dmenu arguments...]
-@@ -11,3 +13,4 @@ instead of copied to the clipboard.
- [dmenu]: http://tools.suckless.org/dmenu/
- [xdotool]: http://www.semicomplete.com/projects/xdotool/
- [pass]: http://www.zx2c4.com/projects/password-store/
-+[bemenu]: https://github.com/Cloudef/bemenu
-diff --git a/contrib/dmenu/passmenu b/contrib/dmenu/passmenu
-index 83268bc..0eee575 100755
---- a/contrib/dmenu/passmenu
-+++ b/contrib/dmenu/passmenu
-@@ -8,12 +8,26 @@ if [[ $1 == "--type" ]]; then
- 	shift
- fi
- 
-+if [[ -n $WAYLAND_DISPLAY ]]; then
-+	if [[ $typeit -eq 0 ]]; then
-+		dmenu=bemenu
-+	else
-+		echo "Error: --type is not supported on wayland" >&2
-+		exit 1
-+	fi
-+elif [[ -n $DISPLAY ]]; then
-+	dmenu=dmenu
-+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 "$@")
-+password=$(printf '%s\n' "${password_files[@]}" | $dmenu "$@")
- 
- [[ -n $password ]] || exit
-