add night indicator to sunset module
trickyni trickyniv56@gmail.com
Thu, 09 Oct 2025 12:27:19 +0300
2 files changed,
6 insertions(+),
5 deletions(-)
M
bar/modules/Sunset.qml
→
bar/modules/Sunset.qml
@@ -19,7 +19,10 @@ command: ["bar/scripts/suntime.sh"]
workingDirectory: Quickshell.shellDir running: true stdout: StdioCollector { - onStreamFinished: sunset.text = this.text.trim() + onStreamFinished: { + sunset.text = this.text.trim() + sunset_indicator.data = this.data + } } }@@ -31,7 +34,8 @@ onTriggered: sunset_script.running = true
} } Class.TopbarIcon { - text: "𖡹" + id: sunset_indicator + text: sunset_indicator.data != "NIGHT" ? "𖡹" :"𖥸" font.pixelSize: Resources.fontsize.topbar_bamum } // Class.TopbarSVG {