From 3d6a9d7c94a8562ae22d41147379d72cb269c110 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Fri, 17 Mar 2023 19:48:49 +0530 Subject: daskpass: initial commit: a password prompt --- daskpass | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 daskpass (limited to 'daskpass') diff --git a/daskpass b/daskpass new file mode 100755 index 0000000..948e0c3 --- /dev/null +++ b/daskpass @@ -0,0 +1,10 @@ +#!/bin/sh + +# this can be used as a password prompt. + +if [ -z "$WAYLAND_DISPLAY" ] +then + printf "" | dmenu -P -p "$1" +else + printf "" | wmenu -P -p "$1" +fi -- cgit v1.2.3