diff options
author | Joe <rbo@gmx.us> | 2025-03-02 21:14:43 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2025-03-02 21:14:43 +0100 |
commit | 171b63beadb70f3e83aa3e170e9b21ca15a9a38b (patch) | |
tree | c0a30a6f87a9445ae03f6496cf3cb3730e088f47 | |
parent | up (diff) | |
download | dotfiles-bsd-171b63beadb70f3e83aa3e170e9b21ca15a9a38b.tar.gz dotfiles-bsd-171b63beadb70f3e83aa3e170e9b21ca15a9a38b.tar.bz2 dotfiles-bsd-171b63beadb70f3e83aa3e170e9b21ca15a9a38b.tar.xz dotfiles-bsd-171b63beadb70f3e83aa3e170e9b21ca15a9a38b.tar.zst dotfiles-bsd-171b63beadb70f3e83aa3e170e9b21ca15a9a38b.zip |
up
Diffstat (limited to '')
-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) { |