Creating a new watcher
See original GitHub issueI would like to watch one integer variable from my window-manager (XY context : the virtual desktop I am in, as they are a good classification of the activities I do on the computer + makes it trivial to label current activity, by just moving to the corresponding space).
What would be a bare-bones watcher ?
Only has to run on linux. I can have the watched-thing run a shell command (messaging the watcher) every time its value changes, so it doesn’t even have to continuously listen (though if it must listen, it can watch the /tmp/current-value file, easy).
Issue Analytics
- State:
- Created 6 years ago
- Comments:25 (23 by maintainers)
Top Results From Across the Web
Getting started with Watcher | Elasticsearch Guide [8.5] | Elastic
Getting started with Watcheredit · Schedule the watch and define an input. · Add a condition that checks to see if an alert...
Read more >How to add Watchers or Request Participants during issue ...
First, you'll need a custom field for the process to work properly. You can follow our documentation on creating a new custom field...
Read more >Create a File Watcher: /Documentation - LabKey Support
File Watchers let administrators set up the monitoring of directories on the file system and perform specific actions when desired files appear. This...
Read more >Create an Azure Network Watcher instance - Microsoft Learn
Create a Network Watcher in the portal · Log into the Azure portal with an account that has the necessary permissions. · Select...
Read more >Automatically add Watchers to Newly Created Issues
I can use this script to automatically add that user as a watcher on all new issues created. Good to Know This script...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@rhabbachi Not that I can remember. I think it boils down to the following
will@ker:~$ cat .../AW/aw-wmtag.py… given that the window manager (awesome-wm) writes in
/path/to/awesome-logging.log, with the following (excerpt from~/.config/awesome/rc.lua):and then calling that function whenever I change tags (by whatever keybinding or clicking sequence) = user input changes the observed value - e.g.
There, now it’s done 😂
@nikanar Awesome! Great to see you got it working 😄
Huge thanks for helping us make the process a bit less cumbersome for people in the future. I updated the doc to mention the
PIP_USERtrick as you suggested.Closing this for now, but don’t hesitate to let us know how things turn out 🚀