From 872dbfc792b92d0badcae4c69d45cca13ca9a6c8 Mon Sep 17 00:00:00 2001 From: Makesesama Date: Tue, 13 May 2025 23:18:06 +0200 Subject: [PATCH] fix vinyl enable --- bar/config.py | 2 +- bar/modules/bar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bar/config.py b/bar/config.py index 4a6ca75..782e054 100644 --- a/bar/config.py +++ b/bar/config.py @@ -49,4 +49,4 @@ app_config = load_config() if not load_args() else load_config(load_args()) if app_config is None: raise Exception("Config file missing") -VINYL = app_config.get("vinyl", {"enabled": False}) +VINYL = app_config.get("vinyl", {"enable": False}) diff --git a/bar/modules/bar.py b/bar/modules/bar.py index 8dd0200..fe64e1f 100644 --- a/bar/modules/bar.py +++ b/bar/modules/bar.py @@ -77,7 +77,7 @@ class StatusBar(Window): ) self.player = Player() self.vinyl = None - if VINYL["enabled"]: + if VINYL["enable"]: self.vinyl = VinylButton() self.status_container = Box(