p-e-w / argos

Create GNOME Shell extensions in seconds

Home Page:https://extensions.gnome.org/extension/1176/argos/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support toggles? (action on click; no popup menu)

artfulrobot opened this issue · comments

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?

I agree this would be super useful.
I don't always want a dropdown. Sometimes I just want a simple button/icon.