Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ignis/services/hyprland/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,12 @@ def __sync_main_keyboard(self) -> None:

self.notify("main-keyboard")

def update_main_keyboard(self) -> None:
"""
Update the `main_keyboard` property for the service (there is no passive/reactive way to do this).
"""
self.__sync_main_keyboard()

def __sync_active_layout(self, layout: str) -> None:
self._main_keyboard.sync({"active_keymap": layout})

Expand Down