about summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2025-01-03 14:52:47 +0300
committerVika <vika@fireburn.ru>2025-01-03 15:00:03 +0300
commit4d50adcfb29e7ee3fb66769e82f5beaf65db2532 (patch)
tree85d78d690b346245430703a96443e7703ff48f6e /src/main.rs
parent8478475d9353aa895c216005cd1b731d8e657d53 (diff)
downloadFurtherance-4d50adcfb29e7ee3fb66769e82f5beaf65db2532.tar.zst
Allow idle time detection on all Wayland desktops HEAD main
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.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 6 insertions, 0 deletions
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;