S033: tray, notifications, launcher progress, autostart, metainfo, test file
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
parent
8e00dcd6cc
commit
4ac8cd9379
1 changed files with 835 additions and 11 deletions
|
|
@ -43,6 +43,17 @@ pub struct Settings {
|
|||
pub clip_skip: Vec<String>,
|
||||
/// The small ring that takes drops.
|
||||
pub drop_target: bool,
|
||||
/// The tray icon, and closing the window into it.
|
||||
pub tray: bool,
|
||||
pub close_to_tray: bool,
|
||||
pub start_minimised: bool,
|
||||
/// Whether the desktop starts Medlar at login.
|
||||
pub autostart: bool,
|
||||
/// Desktop notifications, and the span (minutes after midnight) in which there are none.
|
||||
pub notify: bool,
|
||||
pub quiet: bool,
|
||||
pub quiet_from: u32,
|
||||
pub quiet_to: u32,
|
||||
/// See `proxy::Choice`.
|
||||
pub proxy: String,
|
||||
/// Hosts and networks it is not used for.
|
||||
|
|
@ -159,6 +170,14 @@ impl Default for Settings {
|
|||
clip_types: vec![],
|
||||
clip_skip: vec![],
|
||||
drop_target: false,
|
||||
tray: true,
|
||||
close_to_tray: true,
|
||||
start_minimised: false,
|
||||
autostart: false,
|
||||
notify: true,
|
||||
quiet: false,
|
||||
quiet_from: 22 * 60,
|
||||
quiet_to: 7 * 60,
|
||||
proxy: "system".into(),
|
||||
proxy_bypass: ["localhost", "127.0.0.0/8", "::1"].map(String::from).into(),
|
||||
connector: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue