From 28ec15f308425108c6f06c0f10ec67a08213976d Mon Sep 17 00:00:00 2001 From: Avii Date: Fri, 7 Aug 2026 17:06:56 +0200 Subject: [PATCH] 1786115216 --- build | 2 +- src/main.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build b/build index 2f136ec..cb1f2f6 100755 --- a/build +++ b/build @@ -3,4 +3,4 @@ git add . git commit -am "$(date +%s)" git push -ssh -t trekstor -- "cd dashboard && git pull && cargo b -r && systemctl --user restart dashboard" +ssh -t trekstor -- "cd dashboard && git pull && cargo r -r" diff --git a/src/main.rs b/src/main.rs index 19d7792..e1b2886 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,6 +15,10 @@ use crate::{ha::HaClient, state::DashboardSnapshot, utils::*}; async fn main() -> Result<(), Box> { dotenvy::dotenv().ok(); + for device in evdev::enumerate() { + dbg!(device.1.name()); + } + #[cfg(not(feature = "dev"))] slint::platform::set_platform(Box::new(crate::trekstor::Trekstor::new())) .expect("set platform");