Skip to content

Commit 2011cfd

Browse files
0xbrayoErikBjare
authored andcommitted
fix: rename aw-watcher-* correctly
1 parent b95fde8 commit 2011cfd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src-tauri/src/manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use nix::sys::signal::{self, Signal};
44
use nix::unistd::Pid;
55
/// A process manager for ActivityWatch
66
///
7-
/// Used to start, stop and manage the lifecycle modules like aw-module-afk and aw-module-window.
7+
/// Used to start, stop and manage the lifecycle modules like aw-watcher-afk and aw-watcher-window.
88
/// A module is a process that runs in the background and sends events to the ActivityWatch server.
99
///
1010
/// The manager is responsible for starting and stopping the modules, and for keeping track of
@@ -163,7 +163,7 @@ pub fn start_manager() -> Arc<Mutex<ManagerState>> {
163163
let state = Arc::new(Mutex::new(ManagerState::new(tx)));
164164

165165
// Start the modules
166-
let autostart_modules = ["aw-module-afk", "aw-module-window"];
166+
let autostart_modules = ["aw-watcher-afk", "aw-watcher-window"];
167167
for module in autostart_modules.iter() {
168168
state.lock().unwrap().start_module(module);
169169
}

0 commit comments

Comments
 (0)