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,
|
"showBattery": true,
|
||||||
"showBluetooth": true,
|
"showBluetooth": true,
|
||||||
"showKbLayout": false,
|
"showKbLayout": false,
|
||||||
|
"showMicrophone": false,
|
||||||
"showNetwork": true,
|
"showNetwork": true,
|
||||||
"showLockStatus": true
|
"showLockStatus": true
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,7 @@ JsonObject {
|
||||||
|
|
||||||
component Status: JsonObject {
|
component Status: JsonObject {
|
||||||
property bool showAudio: false
|
property bool showAudio: false
|
||||||
|
property bool showMicrophone: false
|
||||||
property bool showKbLayout: false
|
property bool showKbLayout: false
|
||||||
property bool showNetwork: true
|
property bool showNetwork: true
|
||||||
property bool showBluetooth: 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
|
// Keyboard layout icon
|
||||||
WrappedLoader {
|
WrappedLoader {
|
||||||
name: "kblayout"
|
name: "kblayout"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue