Skip to main content

dnd_from_files

Function dnd_from_files 

Source
pub fn dnd_from_files(config: &Config, now: i64) -> bool
Expand description

Whether do-not-disturb holds now from its switch or a focus session, as the shared files say (everywhere): its layer, for what runs without the window (sioul remind --watch, sioul watch, a phone’s alarms and listener). The switch and the reasons read as the window reads them: the devices gone from the sharing as As usual (everywhere::read_switch), the pause, Free time, the nights and focus (everywhere::sources_from_files), so that a pause ends Reachable here too (review of part 3, F7).