fix material symbols beause i was too refarted to turn on fill

This commit is contained in:
lucy 2026-02-01 00:56:06 +01:00
parent 7da8d8670f
commit 22b68c399e
6 changed files with 13 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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 : []
}

View File

@ -2,7 +2,6 @@ pragma ComponentBehavior: Bound
pragma Singleton
import Quickshell.Services.Notifications
import QtQuick
import Quickshell.Io
NotificationServer {
bodyMarkupSupported: true

View File

@ -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

View File

@ -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
})
}