Rewrite #30

Merged
S4NKALP merged 506 commits from dev into macos 2026-07-18 16:11:08 +00:00
2 changed files with 0 additions and 12 deletions
Showing only changes of commit c19b993b2a - Show all commits

No files matched your search

-2
View File
@@ -3,6 +3,4 @@ from .components import ( # noqa: F401
AudioOSDContainer,
BrightnessOSDContainer,
MicrophoneOSDContainer,
CapsLockOSDContainer,
KeyboardLayoutOSDContainer,
)
-10
View File
@@ -5,8 +5,6 @@ from fabric.widgets.wayland import WaylandWindow as Window
from .components import (
AudioOSDContainer,
BrightnessOSDContainer,
CapsLockOSDContainer,
KeyboardLayoutOSDContainer,
MicrophoneOSDContainer,
)
@@ -27,8 +25,6 @@ class OSD(Box):
"audio": AudioOSDContainer(window),
"brightness": BrightnessOSDContainer(window),
"microphone": MicrophoneOSDContainer(window),
"capslock": CapsLockOSDContainer(window),
"kb_layout": KeyboardLayoutOSDContainer(window),
}
# Set the OSD reference in containers
@@ -52,12 +48,6 @@ class OSD(Box):
def show_microphone_osd(self):
self.show_container(self.containers.get("microphone"))
def show_capslock_osd(self):
self.show_container(self.containers.get("capslock"))
def show_kb_layout_osd(self):
self.show_container(self.containers.get("kb_layout"))
class OSDWindow(Window):
def __init__(self, **kwargs):