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

Force refresh using terminal #122

Open
tyalie opened this issue Dec 11, 2020 · 3 comments
Open

Force refresh using terminal #122

tyalie opened this issue Dec 11, 2020 · 3 comments

Comments

@tyalie
Copy link

tyalie commented Dec 11, 2020

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.

@0x4c47
Copy link

0x4c47 commented Jan 10, 2021

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.

@nafg
Copy link

nafg commented Jan 12, 2023

For me that is a big issue

@moritztim
Copy link

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

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

4 participants