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