Support toggles? (action on click; no popup menu)
artfulrobot opened this issue · comments
Rich Lott commented
I'd like to be able to write a plugin that when the title is clicked, some (bash) action is done, but there is no drop-down menu.
This would be super useful for toggle-able things, e.g. mount a file system:
- shows mount status as an icon in title (we can do this)
- click icon, umounts, now shows unmounted status in title - no need for a pop-up.
- click icon again, mounts, now shows mounted status in title - no need for a pop-up.
Or things like adding an audio Mute button.
It feels like this should be fairly simple to implement? Perhaps it's already supported?
victor-takectrl commented
I agree this would be super useful.
I don't always want a dropdown. Sometimes I just want a simple button/icon.