Skip to content

Conversation

@maxatome
Copy link
Contributor

@maxatome maxatome commented Aug 4, 2025

  • Introduce f.label function, a left aligned unselectable menu item
  • Introduce multiline strings using triple double-quoting
  • Introduce f.dynmenu function and so dynamic menus

Example of use with these 3 features mixed together:

f.dynmenu """
cat <<EOF
"$(hostname)"                    f.title
"*$(date)"                       !"daemon xterm"
"Details..."                     f.dynmenu "/usr/local/bin/another_menu.sh"
"Battery level $(battery level)" f.label
"Another info $(get_info)"       f.label
"Shutdown" ("white":"red")       !"shutdown -r now"
EOF
"""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant