Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make mkSimpleMenu more general #48

Open
cortsf opened this issue Nov 19, 2024 · 0 comments
Open

make mkSimpleMenu more general #48

cortsf opened this issue Nov 19, 2024 · 0 comments

Comments

@cortsf
Copy link
Owner

cortsf commented Nov 19, 2024

Such that rofi can always be called using this function. This simplifies code and makes it easier to allow users to set a custom font size for all rofi menues, and such.

  • Return a dict including the selected item, index, filter string, etc (see rofi's --format)
  • Take a collection of additional keybindings (such as -kb-custom-1), with each item paired with a corresponding callback/lambda function.
  • Provide a mkPrettyMenu wrappper allowing to include a "doc only" paragraph on each rofi row. Return first paragraph content instead of the whole (two paragraph) string (check call_rofi_submenu)
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

No branches or pull requests

1 participant