mirror of
https://github.com/elkowar/eww.git
synced 2024-11-20 11:29:53 +03:00
Revert "Export magic constants during server initialization"
This reverts commit 09fbdde6c9
.
This commit is contained in:
parent
bd09b881af
commit
c322a51e6f
@ -33,6 +33,7 @@ pub fn initialize_server<B: DisplayBackend>(
|
||||
log::info!("Loading paths: {}", &paths);
|
||||
|
||||
let read_config = config::read_from_eww_paths(&paths);
|
||||
|
||||
let eww_config = match read_config {
|
||||
Ok(config) => config,
|
||||
Err(err) => {
|
||||
@ -41,10 +42,6 @@ pub fn initialize_server<B: DisplayBackend>(
|
||||
}
|
||||
};
|
||||
|
||||
for (name, definition) in config::inbuilt::get_magic_constants(&paths) {
|
||||
std::env::set_var(name.0, definition.initial_value.0);
|
||||
}
|
||||
|
||||
cleanup_log_dir(paths.get_log_dir())?;
|
||||
|
||||
if should_daemonize {
|
||||
|
Loading…
Reference in New Issue
Block a user