add panel titles to mpris/sound/brightness; pin button always visible
This commit is contained in:
parent
5ce1205225
commit
f174d35383
4 changed files with 4 additions and 12 deletions
|
|
@ -109,6 +109,7 @@ M.BarSection {
|
||||||
anchorItem: root
|
anchorItem: root
|
||||||
accentColor: root.accentColor
|
accentColor: root.accentColor
|
||||||
panelNamespace: "nova-backlight"
|
panelNamespace: "nova-backlight"
|
||||||
|
panelTitle: "Brightness"
|
||||||
contentWidth: 200
|
contentWidth: 200
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|
|
||||||
|
|
@ -268,18 +268,7 @@ PanelWindow {
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
width: root.popupMode ? 0 : 20
|
width: root.popupMode ? 0 : 20
|
||||||
height: 20
|
height: 20
|
||||||
visible: !root.popupMode && (root.panelHovered || root._pinned)
|
visible: !root.popupMode
|
||||||
opacity: pinHover.hovered || root._pinned ? 1 : 0.35
|
|
||||||
|
|
||||||
Behavior on opacity {
|
|
||||||
NumberAnimation {
|
|
||||||
duration: 100
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HoverHandler {
|
|
||||||
id: pinHover
|
|
||||||
}
|
|
||||||
|
|
||||||
TapHandler {
|
TapHandler {
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
|
|
||||||
|
|
@ -119,6 +119,7 @@ M.BarSection {
|
||||||
anchorItem: root
|
anchorItem: root
|
||||||
accentColor: root.accentColor
|
accentColor: root.accentColor
|
||||||
panelNamespace: "nova-mpris"
|
panelNamespace: "nova-mpris"
|
||||||
|
panelTitle: "Now Playing"
|
||||||
contentWidth: 280
|
contentWidth: 280
|
||||||
|
|
||||||
// Album art — always 1:1
|
// Album art — always 1:1
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,7 @@ M.BarSection {
|
||||||
anchorItem: root
|
anchorItem: root
|
||||||
accentColor: root.accentColor
|
accentColor: root.accentColor
|
||||||
panelNamespace: "nova-volume"
|
panelNamespace: "nova-volume"
|
||||||
|
panelTitle: "Sound"
|
||||||
contentWidth: 220
|
contentWidth: 220
|
||||||
|
|
||||||
// Slider row
|
// Slider row
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue