diff --git a/komorebi/src/main.rs b/komorebi/src/main.rs index 06950b93..ca39ea9b 100644 --- a/komorebi/src/main.rs +++ b/komorebi/src/main.rs @@ -34,6 +34,7 @@ use komorebi::window_manager::WindowManager; use komorebi::windows_api::WindowsApi; use komorebi::winevent_listener; use komorebi::CUSTOM_FFM; +use komorebi::DATA_DIR; use komorebi::HOME_DIR; use komorebi::INITIAL_CONFIGURATION_LOADED; use komorebi::SESSION_ID; @@ -199,6 +200,8 @@ fn main() -> Result<()> { Option::from, ); + std::fs::create_dir_all(&*DATA_DIR)?; + let wm = if let Some(config) = &static_config { tracing::info!( "creating window manager from static configuration file: {}",