From 4d50adcfb29e7ee3fb66769e82f5beaf65db2532 Mon Sep 17 00:00:00 2001 From: Vika Date: Fri, 3 Jan 2025 14:52:47 +0300 Subject: Allow idle time detection on all Wayland desktops Other desktops require C dependencies I don't want to bring in, so let's leave it at that. Pretty much all of the code was kanged from the new Iced rewrite. --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index abedf64..ac51761 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,6 +19,12 @@ mod config; mod database; mod settings_manager; mod ui; +mod helpers { + mod idle; + mod wayland_idle; + + pub use idle::get_idle_time; +} use self::application::FurtheranceApplication; -- cgit 1.4.1