diff --git a/src/locale.rs b/src/locale.rs index 220a3e0..d153dd1 100644 --- a/src/locale.rs +++ b/src/locale.rs @@ -1,4 +1,4 @@ -use std::{io::Write, time::Duration}; +use std::time::Duration; use anyhow::Context; use cosmic_comp_config::XkbConfig; @@ -93,21 +93,6 @@ async fn sync_locale1_to_cosmic( ) .context("failed to get xkb config from locale1 daemon")?; - _ = std::fs::OpenOptions::new() - .create(true) - .append(true) - .open("/home/mmstick/locales") - .unwrap() - .write_all( - format!( - "{:?}: model: {model}, layout: {layout}, variant: {variant}, options: {options}\n", - std::time::SystemTime::now() - .duration_since(std::time::SystemTime::UNIX_EPOCH) - .unwrap() - ) - .as_bytes(), - ); - let current_config = config .get::(COSMIC_COMP_XDG_KEY) .unwrap_or_default();