fix material symbols beause i was too refarted to turn on fill
This commit is contained in:
parent
7da8d8670f
commit
22b68c399e
@ -34,7 +34,7 @@ Variants {
|
|||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: leftStuff
|
id: leftStuff
|
||||||
leftPadding: 10
|
leftPadding: 5
|
||||||
spacing: 10
|
spacing: 10
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
@ -53,7 +53,7 @@ Variants {
|
|||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: rightStuff
|
id: rightStuff
|
||||||
rightPadding: 10
|
rightPadding: 5
|
||||||
spacing: 10
|
spacing: 10
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|||||||
@ -9,7 +9,7 @@ Rectangle {
|
|||||||
radius: implicitHeight / 2
|
radius: implicitHeight / 2
|
||||||
color: pavuArea.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
color: pavuArea.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
implicitWidth: volumeIcon.implicitWidth + 5
|
implicitWidth: volumeIcon.implicitWidth + 10
|
||||||
implicitHeight: Settings.config.barHeight - 10
|
implicitHeight: Settings.config.barHeight - 10
|
||||||
CustomIcon {
|
CustomIcon {
|
||||||
id: volumeIcon
|
id: volumeIcon
|
||||||
|
|||||||
@ -44,9 +44,10 @@ Rectangle {
|
|||||||
Row {
|
Row {
|
||||||
id: textRow
|
id: textRow
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
spacing: 5
|
spacing: 0
|
||||||
CustomText {
|
CustomText {
|
||||||
id: volumeText
|
id: volumeText
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
PwObjectTracker {
|
PwObjectTracker {
|
||||||
objects: Pipewire.ready ? Pipewire.defaultAudioSink : []
|
objects: Pipewire.ready ? Pipewire.defaultAudioSink : []
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@ pragma ComponentBehavior: Bound
|
|||||||
pragma Singleton
|
pragma Singleton
|
||||||
import Quickshell.Services.Notifications
|
import Quickshell.Services.Notifications
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import Quickshell.Io
|
|
||||||
|
|
||||||
NotificationServer {
|
NotificationServer {
|
||||||
bodyMarkupSupported: true
|
bodyMarkupSupported: true
|
||||||
|
|||||||
@ -16,10 +16,12 @@ ClippingWrapperRectangle {
|
|||||||
onAccepted: {
|
onAccepted: {
|
||||||
Settings.config.font = selectedFont.family;
|
Settings.config.font = selectedFont.family;
|
||||||
Settings.config.fontSize = selectedFont.pointSize;
|
Settings.config.fontSize = selectedFont.pointSize;
|
||||||
|
Settings.config.fontWeight = selectedFont.weight;
|
||||||
}
|
}
|
||||||
onSelectedFontChanged: {
|
onSelectedFontChanged: {
|
||||||
Settings.config.font = selectedFont.family;
|
Settings.config.font = selectedFont.family;
|
||||||
Settings.config.fontSize = selectedFont.pointSize;
|
Settings.config.fontSize = selectedFont.pointSize;
|
||||||
|
Settings.config.fontWeight = selectedFont.weight;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|||||||
@ -3,14 +3,14 @@ import qs.settings
|
|||||||
import qs
|
import qs
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
property real fill: 1
|
property real fill: 0
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
font.family: "Material Icons Sharp"
|
font.family: "Material Symbols Rounded"
|
||||||
color: Colors.onSurfaceColor
|
color: Colors.onSurfaceColor
|
||||||
font.variableAxes: ({
|
font.variableAxes: ({
|
||||||
FILL: fill.toFixed(1),
|
FILL: 1,
|
||||||
GRAD: -25,
|
GRAD: 200,
|
||||||
opsz: Settings.config.fontSize,
|
opsz: 0,
|
||||||
wght: Settings.config.fontWeight
|
wght: 700
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user