diff options
Diffstat (limited to '.local/bin/dmapps')
-rwxr-xr-x | .local/bin/dmapps | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.local/bin/dmapps b/.local/bin/dmapps index af0c26d..ccefc76 100755 --- a/.local/bin/dmapps +++ b/.local/bin/dmapps @@ -146,7 +146,11 @@ sub main if (hostname() eq "po-rbo.ln.ysosecure.com") { $prompt .= WORK_LIST; } - $action = `dmenu -i -l 100 -sb '$color' -shb '$color' <<LIST + my $menu = "dmenu -sb '$color' -shb '$color'"; + if (defined $ENV{WAYLAND_DISPLAY}) { + $menu = "wmenu -S '$color'"; + } + $action = `$menu -i -l 100 <<LIST $prompt LIST`; if (not $action) { |