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

Force refresh using terminal

tyalie opened this issue · comments

It would be nice, if argos could be refreshed using a single command.

I'm currently using a hotkeys for a system wide microphone mute in Gnome (amixer set Capture toggle) and I'm using argos to always show whether the microphone is on or off using a simple grep command and amixer status. It would be nice to force update argos in the instance I'm triggering the hotkey. The simplest solution would be by triggering a command along the above mentioned amixer command. This would remove the need to update the argos extension every second.

A workaround for this use case: You can refresh/reload by modifying the Argos script. I currently use touch /path/to/argos/script in scripts.
This will refresh the output. The only issue with that is the short appearance of the file name because it's technically not just refreshing the output but reloading the script.

For me that is a big issue

Another problem with the workaround of simply touching the file is that all scripts get reloaded.