Skip to content

Commit 6238e34

Browse files
committed
fix(bar_manager): include 'env_file' in config change detection
- Updated the configuration change detection to include 'env_file'. - This ensures that changes to the environment file trigger the removal of the tray icon and restart of the application.
1 parent 2f9dee9 commit 6238e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/bar_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def on_config_modified(self):
5353
logging.error(f"Error loading config: {e}")
5454
return
5555
if config and (config != self.config):
56-
if any(config[key] != self.config[key] for key in ['bars', 'widgets', 'komorebi', 'debug','hide_taskbar']):
56+
if any(config[key] != self.config[key] for key in ['bars', 'widgets', 'komorebi', 'debug', 'hide_taskbar', 'env_file']):
5757
self.remove_tray_icon_signal.emit()
5858
QProcess.startDetached(sys.executable, sys.argv)
5959
sys.exit()

0 commit comments

Comments
 (0)