Skip to content

Commit

Permalink
fix: remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Sep 26, 2024
1 parent e74eda0 commit 2f17f33
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/locale.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{io::Write, time::Duration};
use std::time::Duration;

use anyhow::Context;
use cosmic_comp_config::XkbConfig;
Expand Down Expand Up @@ -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::<XkbConfig>(COSMIC_COMP_XDG_KEY)
.unwrap_or_default();
Expand Down

0 comments on commit 2f17f33

Please sign in to comment.