fr33zing / fr33zmenu

A multi-page fuzzy launcher for your terminal, written in Rust.
https://crates.io/crates/fr33zmenu
GNU General Public License v3.0
16 stars 1 forks source link

the values in the menu entries are not executed which have spaces in them. #3

Open CoffeeCat1920 opened 1 month ago

CoffeeCat1920 commented 1 month ago

I am unable to execute the lvim entry from my menu.toml file using fr33zmenu. All other entries (e.g., emacs, firefox, thunar) work as expected, but when selecting lvim, nothing happens.

Menu Configuration

Here is the relevant portion of my menu.toml:

[menus.programs]         # Define a new menu named "programs"
order = -1               # Ensure it is the first menu
prompt = "study -> "     # Give it a custom prompt

[menus.programs.entries]  # Define the menu's entries
# ↓ Name      ↓ Value
emacs      = "emacsclient -c -a emacs"
firefox    = "firefox"
thunar     = "thunar"
lvim       = "foot lvim"  # This entry fails to execute

[menus.power]            # Another menu
prompt = "power -> "

[menus.power.entries]
shutdown = "shutdown now"
reboot   = "reboot"

and here is the launch script

#!/bin/sh

fr33zmenu ~/.config/fr33zmenu/menu.toml \
    --exec-with "nohup" \
    --transient
fr33zing commented 1 month ago

Hi, thanks for filing an issue! So I can investigate further, what window manager / wayland compositor are you using?

CoffeeCat1920 commented 1 month ago

hi, thanks for following. Sorry couldn't reply cause of uni. I am using Sway-wm. Does this issue have anything to do with wayland. And very cute project.