diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 14:14:30 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 14:14:30 +1000 |
| commit | d1e5f484461e27133317c78b81347d05dc3a2760 (patch) | |
| tree | 7e84f152a66b69366d6abb67af63ec7306fca7bd /modules/bar/popouts/ActiveWindow.qml | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-shell-d1e5f484461e27133317c78b81347d05dc3a2760.tar.gz caelestia-shell-d1e5f484461e27133317c78b81347d05dc3a2760.tar.bz2 caelestia-shell-d1e5f484461e27133317c78b81347d05dc3a2760.zip | |
internal: rename Hyprland -> Hypr
Prevent shadowing
Fixes window info not changing on switching to an empty workspace
Diffstat (limited to 'modules/bar/popouts/ActiveWindow.qml')
| -rw-r--r-- | modules/bar/popouts/ActiveWindow.qml | 10 |
1 files changed, 5 insertions, 5 deletions
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 |