2e3s / awatcher

Activity and idle watchers
Mozilla Public License 2.0
126 stars 4 forks source link

Bundle .deb's location after install #3

Closed cameronj86 closed 10 months ago

cameronj86 commented 10 months ago

I successfully installed awatcher (bundled .deb version) on my laptop running Wayland and got a few of the web-extension-related watchers up and running. So far so good.

I'd also like to install some additional watchers from GitHub as well, and their instructions (ie step 3 here) are to place the downloaded watcher(s) in the same folder as aw-watcher-afk et al.

I've been digging around my system for something that mirrors that aw-watcher-esque layout and can't seem to find anything. I know it's not $HOME/.config/awatcher as that is for the .toml files, so my question is where should manually installed watchers go? IE should be placed in /usr/bin/ along side awatcher, should I create a subfolder, or is this not a capability quite yet?

Thanks!

2e3s commented 10 months ago

Hello! For now, you would need to run other watcher another way, like manually or with systemd. The original distribution manages to run watchers automatically with an app for the tray icon which config is suggested by the link, I didn't make such a functionality yet into the tray yet, although had some plans. Instead, for the simplicity, what you need is to install the original distribution (.deb is here), then download awatcher as a watcher (not bundle), and run it with aw-qt as an extra watcher as suggested for aw-watcher-mpv-sender. Also turn off the original afk and window watchers since they are being replaced.

2e3s commented 10 months ago

By the way, the watcher you mentioned might be covered by https://github.com/2e3s/aw-watcher-media-player if MPV supports MPRIS (almost all players do). But that watcher won't be running automatically with awatcher-bundle, which of course I faced recently as well :smile: I've quickly made a rudimentary runner https://github.com/2e3s/awatcher/releases/tag/v0.2.2-beta1 but there is much more to do to catch up with aw-qt.

cameronj86 commented 10 months ago

Thanks for the update and alternative solutions! I'm going to try and auto-start any additional watchers, and if that doesn't work, I'll pivot towards aw-qt + awatcher (non-bundled) as my solution.