From 5506f6eae9f766b548c7796c34f888f6501967cc Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Mon, 5 May 2025 11:29:23 +0200 Subject: [PATCH] volume mixer: smaller icons --- .../modules/sidebarRight/volumeMixer/VolumeMixerEntry.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/quickshell/modules/sidebarRight/volumeMixer/VolumeMixerEntry.qml b/.config/quickshell/modules/sidebarRight/volumeMixer/VolumeMixerEntry.qml index ec4e6f6c2..eb671689e 100644 --- a/.config/quickshell/modules/sidebarRight/volumeMixer/VolumeMixerEntry.qml +++ b/.config/quickshell/modules/sidebarRight/volumeMixer/VolumeMixerEntry.qml @@ -5,6 +5,7 @@ import Qt5Compat.GraphicalEffects import QtQuick import QtQuick.Controls import QtQuick.Layouts +import Quickshell import Quickshell.Widgets import Quickshell.Services.Pipewire @@ -23,11 +24,11 @@ Item { Image { Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter visible: source != "" - sourceSize.width: 50 - sourceSize.height: 50 + sourceSize.width: 38 + sourceSize.height: 38 source: { const icon = root.node.properties["application.icon-name"] ?? "audio-volume-high-symbolic"; - return `image://icon/${icon}`; + return Quickshell.iconPath(icon); } }