-
Notifications
You must be signed in to change notification settings - Fork 544
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
feat(tray): add start/stop recording options and global shortcut (WIP) #519
feat(tray): add start/stop recording options and global shortcut (WIP) #519
Conversation
Signed-off-by: David Anyatonwu <davidanyatonwu@gmail.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: David Anyatonwu <davidanyatonwu@gmail.com>
last_restart: Instant, | ||
restart_interval: Arc<Mutex<Duration>>, | ||
restart_task: Option<JoinHandle<()>>, | ||
dev_mode: Arc<Mutex<bool>>, | ||
pub is_recording: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this variable is not necessary, we just want to allow user to start or stop the sidecar with less friction than now (atm they need to go in screenpipe app and click on stop/start) we want to save them a few clicks/seconds on this
Signed-off-by: David Anyatonwu <davidanyatonwu@gmail.com>
Signed-off-by: David Anyatonwu <davidanyatonwu@gmail.com>
let app_handle = app.handle().clone(); | ||
let event_app_handle = app_handle.clone(); // Clone for event emission | ||
|
||
match app.handle().plugin( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you make this less nested? really hard to read
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
can you make the shortcut changeable in settings like done in here? #524 if too hard i can make it before release |
Yes, I thought of that too. |
Closing this due to conflicts. |
Fixes: #515
/claim #515
WIP