From e381297455dacafa505fbc75dd9c3cb0cc2c722d Mon Sep 17 00:00:00 2001 From: ferreo Date: Tue, 26 Nov 2024 11:01:11 +0000 Subject: [PATCH] Update pikabar version and refactor Topbar.qml to improve widget bindings for better maintainability and layout consistency --- .github/release-nest-v3 | 2 +- pikabar/debian/changelog | 2 +- pikabar/usr/share/pikabar/Topbar.qml | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index 56a6051..d8263ee 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -1 \ No newline at end of file +2 \ No newline at end of file diff --git a/pikabar/debian/changelog b/pikabar/debian/changelog index 92a15ba..0eea005 100644 --- a/pikabar/debian/changelog +++ b/pikabar/debian/changelog @@ -1,4 +1,4 @@ -pikabar (1.0.0-101pika16) pika; urgency=medium +pikabar (1.0.0-101pika17) pika; urgency=medium * Less of a chonker diff --git a/pikabar/usr/share/pikabar/Topbar.qml b/pikabar/usr/share/pikabar/Topbar.qml index 79cc53f..cd751b6 100644 --- a/pikabar/usr/share/pikabar/Topbar.qml +++ b/pikabar/usr/share/pikabar/Topbar.qml @@ -52,7 +52,7 @@ PanelWindow { Widgets.Workspaces { id: workspacesWidget - workspaces: workspaces + workspaces: panel.workspaces } Widgets.NowPlaying { @@ -87,12 +87,12 @@ PanelWindow { spacing: 0 Widgets.Stats { - updateInterval: sysInfoInterval + updateInterval: panel.sysInfoInterval } Widgets.Weather { - isAmerican: weatherConfig.isamerican ?? false - city: weatherConfig.city ?? "London" - updateInterval: weatherConfig.weatherupdateinterval ?? 300000 + isAmerican: panel.weatherConfig.isamerican ?? false + city: panel.weatherConfig.city ?? "London" + updateInterval: panel.weatherConfig.weatherupdateinterval ?? 300000 } Widgets.Power {} Widgets.SystemTray {}