Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/gui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,16 @@ impl LauncherApp {

#[cfg(not(target_os = "windows"))]
pub fn unregister_all_hotkeys(&self) {}

/// Return the currently configured screenshot directory, if any.
pub fn get_screenshot_dir(&self) -> Option<&str> {
self.screenshot_dir.as_deref()
}

/// Whether screenshots copied to the clipboard are also saved to disk.
pub fn get_screenshot_save_file(&self) -> bool {
self.screenshot_save_file
}
}

impl eframe::App for LauncherApp {
Expand Down