aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/dmenu/passmenu
diff options
context:
space:
mode:
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 -"