From d1e5f484461e27133317c78b81347d05dc3a2760 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 24 Aug 2025 14:14:30 +1000 Subject: internal: rename Hyprland -> Hypr Prevent shadowing Fixes window info not changing on switching to an empty workspace --- modules/bar/popouts/ActiveWindow.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/bar/popouts/ActiveWindow.qml') diff --git a/modules/bar/popouts/ActiveWindow.qml b/modules/bar/popouts/ActiveWindow.qml index cad2bd8..adf7b77 100644 --- a/modules/bar/popouts/ActiveWindow.qml +++ b/modules/bar/popouts/ActiveWindow.qml @@ -12,7 +12,7 @@ Item { required property Item wrapper - implicitWidth: Hyprland.activeToplevel ? child.implicitWidth : -Appearance.padding.large * 2 + implicitWidth: Hypr.activeToplevel ? child.implicitWidth : -Appearance.padding.large * 2 implicitHeight: child.implicitHeight Column { @@ -33,7 +33,7 @@ Item { Layout.alignment: Qt.AlignVCenter implicitSize: details.implicitHeight - source: Icons.getAppIcon(Hyprland.activeToplevel?.lastIpcObject.class ?? "", "image-missing") + source: Icons.getAppIcon(Hypr.activeToplevel?.lastIpcObject.class ?? "", "image-missing") } ColumnLayout { @@ -44,14 +44,14 @@ Item { StyledText { Layout.fillWidth: true - text: Hyprland.activeToplevel?.title ?? "" + text: Hypr.activeToplevel?.title ?? "" font.pointSize: Appearance.font.size.normal elide: Text.ElideRight } StyledText { Layout.fillWidth: true - text: Hyprland.activeToplevel?.lastIpcObject.class ?? "" + text: Hypr.activeToplevel?.lastIpcObject.class ?? "" color: Colours.palette.m3onSurfaceVariant elide: Text.ElideRight } @@ -91,7 +91,7 @@ Item { ScreencopyView { id: preview - captureSource: Hyprland.activeToplevel?.wayland ?? null + captureSource: Hypr.activeToplevel?.wayland ?? null live: visible constraintSize.width: Config.bar.sizes.windowPreviewSize -- cgit v1.2.3-freya