Closed dshoreman closed 5 years ago
If I use --notification --listen with a menu defined similar to the following:
--notification --listen
echo "menu:\ First item ! some_command |\ Another menu item ! other-command |\ Menu item Three ! yet_another-command ||\ Quit ! quit " >&3
...the first three menu items all function correctly, but the Quit item fails due to the surrounding space.
Quit
While !quit works fine (with no surrounding whitespace), it would be nice if it worked both ways to aid readability of code in more complex menus.
!quit
If I use
--notification --listen
with a menu defined similar to the following:...the first three menu items all function correctly, but the
Quit
item fails due to the surrounding space.While
!quit
works fine (with no surrounding whitespace), it would be nice if it worked both ways to aid readability of code in more complex menus.