1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05:00

added keyboard layout widget (niri only)

This commit is contained in:
asaadmohammed74
2025-08-29 23:34:33 +03:00
parent 61a3dc4033
commit 1030f4ba75
5 changed files with 111 additions and 0 deletions

View File

@@ -337,6 +337,8 @@ PanelWindow {
return true
case "network_speed_monitor":
return DgopService.dgopAvailable
case "keyboard_layout_name":
return true
default:
return false
}
@@ -386,6 +388,8 @@ PanelWindow {
return separatorComponent
case "network_speed_monitor":
return networkComponent
case "keyboard_layout_name":
return keyboardLayoutNameComponent
default:
return null
}
@@ -1109,6 +1113,12 @@ PanelWindow {
opacity: 0.3
}
}
Component {
id: keyboardLayoutNameComponent
KeyboardLayoutName {}
}
}
}
}