parent
5fc9ffcc8f
commit
24a1af185a
3 changed files with 14 additions and 0 deletions
|
|
@ -320,6 +320,7 @@ default, you must create it manually.
|
|||
"showBattery": true,
|
||||
"showBluetooth": true,
|
||||
"showKbLayout": false,
|
||||
"showMicrophone": false,
|
||||
"showNetwork": true,
|
||||
"showLockStatus": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ JsonObject {
|
|||
|
||||
component Status: JsonObject {
|
||||
property bool showAudio: false
|
||||
property bool showMicrophone: false
|
||||
property bool showKbLayout: false
|
||||
property bool showNetwork: true
|
||||
property bool showBluetooth: true
|
||||
|
|
|
|||
|
|
@ -115,6 +115,18 @@ StyledRect {
|
|||
}
|
||||
}
|
||||
|
||||
// Microphone icon
|
||||
WrappedLoader {
|
||||
name: "audio"
|
||||
active: Config.bar.status.showMicrophone
|
||||
|
||||
sourceComponent: MaterialIcon {
|
||||
animate: true
|
||||
text: Icons.getMicVolumeIcon(Audio.sourceVolume, Audio.sourceMuted)
|
||||
color: root.colour
|
||||
}
|
||||
}
|
||||
|
||||
// Keyboard layout icon
|
||||
WrappedLoader {
|
||||
name: "kblayout"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue