aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/dmenu/passmenu
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2026-10-26 14:10:34 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2026-10-26 14:21:20 +0100
commit4aed8c70e439205c1119ddf43e7bca4a89dee119 (patch)
tree135774e678693f14866278781939d68cfd7cc9f3 /contrib/dmenu/passmenu
parentpassmenu: switch to wmenu (diff)
downloadpassword-store-master.tar.xz
password-store-master.zip
passmenu: support kwin-typeHEADmaster
It looks like right now, ever DE has its own preferred method of doing this. So add support for a simple KDE tool for this. Link: https://git.zx2c4.com/kwin-type/about/
Diffstat (limited to 'contrib/dmenu/passmenu')
-rwxr-xr-xcontrib/dmenu/passmenu1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/dmenu/passmenu b/contrib/dmenu/passmenu
index e7b6309..4b3f7ef 100755
--- a/contrib/dmenu/passmenu
+++ b/contrib/dmenu/passmenu
@@ -11,6 +11,7 @@ fi
if [[ -n $WAYLAND_DISPLAY ]]; then
dmenu=wmenu
xdotool="ydotool type --file -"
+ [[ $XDG_CURRENT_DESKTOP == KDE ]] && xdotool="kwin-type"
elif [[ -n $DISPLAY ]]; then
dmenu=dmenu
xdotool="xdotool type --clearmodifiers --file -"