Remove some Settings entries
This commit is contained in:
parent
ce9ab7f90f
commit
931e499d67
2 changed files with 3 additions and 7 deletions
|
|
@ -120,13 +120,8 @@ Singleton {
|
||||||
|
|
||||||
bar: JsonObject {
|
bar: JsonObject {
|
||||||
property string position: "top" // Possible values: "top", "bottom"
|
property string position: "top" // Possible values: "top", "bottom"
|
||||||
property bool showActiveWindow: true
|
|
||||||
property bool showActiveWindowIcon: true
|
property bool showActiveWindowIcon: true
|
||||||
property bool showSystemInfo: false
|
|
||||||
property bool showMedia: false
|
|
||||||
property bool showBrightness: true
|
|
||||||
property bool showNotificationsHistory: true
|
|
||||||
property bool showTray: true
|
|
||||||
property bool alwaysShowBatteryPercentage: false
|
property bool alwaysShowBatteryPercentage: false
|
||||||
property real backgroundOpacity: 1.0
|
property real backgroundOpacity: 1.0
|
||||||
property list<string> monitors: []
|
property list<string> monitors: []
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,8 @@ Row {
|
||||||
id: root
|
id: root
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
spacing: Style.marginS * scaling
|
spacing: Style.marginS * scaling
|
||||||
visible: Settings.data.bar.showMedia && (MediaService.canPlay || MediaService.canPause)
|
visible: MediaService.currentPlayer !== null
|
||||||
|
width: MediaService.currentPlayer !== null ? implicitWidth : 0
|
||||||
|
|
||||||
function getTitle() {
|
function getTitle() {
|
||||||
return MediaService.trackTitle + (MediaService.trackArtist !== "" ? ` - ${MediaService.trackArtist}` : "")
|
return MediaService.trackTitle + (MediaService.trackArtist !== "" ? ` - ${MediaService.trackArtist}` : "")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue