From 7e93e29f66b749291fea875d068ec23089f6f6c6 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Mon, 8 Sep 2025 20:20:40 -0400 Subject: [PATCH] Icons: duo for nightlight --- Modules/Bar/Widgets/NightLight.qml | 4 ++-- Services/FontService.qml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Modules/Bar/Widgets/NightLight.qml b/Modules/Bar/Widgets/NightLight.qml index d3896a1..a88a573 100644 --- a/Modules/Bar/Widgets/NightLight.qml +++ b/Modules/Bar/Widgets/NightLight.qml @@ -16,11 +16,11 @@ NIconButton { sizeRatio: 0.8 colorBg: Color.mSurfaceVariant - colorFg: Settings.data.nightLight.enabled ? Color.mOnSurface : Color.mError + colorFg: Color.mOnSurface colorBorder: Color.transparent colorBorderHover: Color.transparent - icon: FontService.icons["moon"] + icon: Settings.data.nightLight.enabled ? FontService.icons["moon_stars"] : FontService.icons["sunrise"] tooltipText: `Night light: ${Settings.data.nightLight.enabled ? "enabled." : "disabled."}\nLeft click to toggle.\nRight click to access settings.` onClicked: Settings.data.nightLight.enabled = !Settings.data.nightLight.enabled diff --git a/Services/FontService.qml b/Services/FontService.qml index 1d88816..aa27956 100644 --- a/Services/FontService.qml +++ b/Services/FontService.qml @@ -79,9 +79,10 @@ Singleton { "bar": "\uF52B", "launcher": "\uF843", "palette": "\uF4B1", - "moon": "\uF497", + "sunrise": "\uF5A5", + "moon_stars": "\uF496", "gauge": "\uF580", - "lightning": "\uF46C", + "lightning": "\uF46D", "keyboard": "\uF451", "paint_brush": "\uEE26", "link": "\uF470",