mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 07:52:50 -05:00
dankbar: add caps lock indicator widget
This commit is contained in:
@@ -844,6 +844,7 @@ Item {
|
||||
"battery": batteryComponent,
|
||||
"layout": layoutComponent,
|
||||
"controlCenterButton": controlCenterButtonComponent,
|
||||
"capsLockIndicator": capsLockIndicatorComponent,
|
||||
"idleInhibitor": idleInhibitorComponent,
|
||||
"spacer": spacerComponent,
|
||||
"separator": separatorComponent,
|
||||
@@ -884,6 +885,7 @@ Item {
|
||||
"batteryComponent": batteryComponent,
|
||||
"layoutComponent": layoutComponent,
|
||||
"controlCenterButtonComponent": controlCenterButtonComponent,
|
||||
"capsLockIndicatorComponent": capsLockIndicatorComponent,
|
||||
"idleInhibitorComponent": idleInhibitorComponent,
|
||||
"spacerComponent": spacerComponent,
|
||||
"separatorComponent": separatorComponent,
|
||||
@@ -1428,6 +1430,16 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: capsLockIndicatorComponent
|
||||
|
||||
CapsLockIndicator {
|
||||
widgetThickness: barWindow.widgetThickness
|
||||
section: topBarContent.getWidgetSection(parent) || "right"
|
||||
parentScreen: barWindow.screen
|
||||
}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: idleInhibitorComponent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user