From b1ddc870457d998d08938af6b6dcced357d56278 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 11 Mar 2023 15:14:30 +0530 Subject: menu: prioritize wayland even when xwayland is available --- damb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'damb') diff --git a/damb b/damb index 4425ae7..66a8cb6 100755 --- a/damb +++ b/damb @@ -4,7 +4,7 @@ amb_dir="$HOME/.local/share/damb" pid_file="/tmp/damb.pid" config_dir="$HOME/.config/damb" -menu="dmenu" +menu="wmenu" die() { @@ -48,8 +48,8 @@ get_link() main() { - [ -z "$DISPLAY" ] && - menu="wmenu" + [ -z "$WAYLAND_DISPLAY" ] && + menu="dmenu" dep_check "$menu" -- cgit v1.2.3