refactor: remove microphone osd container

This commit is contained in:
sankalp committed 2026-07-06 20:34:44 +05:45
1 parent 4390e7cca0
commit 9c19b7446a
2 files changed
-6

No files matched your search

-1
View File
@@ -2,5 +2,4 @@ from .main import OSDWindow # noqa: F401
from .components import ( # noqa: F401 from .components import ( # noqa: F401
AudioOSDContainer, AudioOSDContainer,
BrightnessOSDContainer, BrightnessOSDContainer,
MicrophoneOSDContainer,
) )
-5
View File
@@ -5,7 +5,6 @@ from fabric.widgets.wayland import WaylandWindow as Window
from .components import ( from .components import (
AudioOSDContainer, AudioOSDContainer,
BrightnessOSDContainer, BrightnessOSDContainer,
MicrophoneOSDContainer,
) )
@@ -24,7 +23,6 @@ class OSD(Box):
self.containers = { self.containers = {
"audio": AudioOSDContainer(window), "audio": AudioOSDContainer(window),
"brightness": BrightnessOSDContainer(window), "brightness": BrightnessOSDContainer(window),
"microphone": MicrophoneOSDContainer(window),
} }
# Set the OSD reference in containers # Set the OSD reference in containers
@@ -45,9 +43,6 @@ class OSD(Box):
def show_brightness_osd(self): def show_brightness_osd(self):
self.show_container(self.containers.get("brightness")) self.show_container(self.containers.get("brightness"))
def show_microphone_osd(self):
self.show_container(self.containers.get("microphone"))
class OSDWindow(Window): class OSDWindow(Window):
def __init__(self, **kwargs): def __init__(self, **kwargs):