argos icon indicating copy to clipboard operation
argos copied to clipboard

Force refresh using terminal

Open tyalie opened this issue 4 years ago • 3 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.

tyalie avatar Dec 11 '20 20:12 tyalie

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.

0x4c47 avatar Jan 10 '21 14:01 0x4c47

For me that is a big issue

nafg avatar Jan 12 '23 01:01 nafg

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

moritztim avatar Jan 24 '24 12:01 moritztim