summaryrefslogtreecommitdiff
path: root/modules/bar/popouts
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 14:14:30 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 14:14:30 +1000
commitd1e5f484461e27133317c78b81347d05dc3a2760 (patch)
tree7e84f152a66b69366d6abb67af63ec7306fca7bd /modules/bar/popouts
parent[CI] chore: update flake (diff)
downloadcaelestia-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')
-rw-r--r--modules/bar/popouts/ActiveWindow.qml10
-rw-r--r--modules/bar/popouts/KbLayout.qml2
-rw-r--r--modules/bar/popouts/Wrapper.qml2
3 files changed, 7 insertions, 7 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
diff --git a/modules/bar/popouts/KbLayout.qml b/modules/bar/popouts/KbLayout.qml
index ea7c490..8e5ae8d 100644
--- a/modules/bar/popouts/KbLayout.qml
+++ b/modules/bar/popouts/KbLayout.qml
@@ -2,5 +2,5 @@ import qs.components
import qs.services
StyledText {
- text: qsTr("Keyboard layout: %1").arg(Hyprland.kbLayoutFull)
+ text: qsTr("Keyboard layout: %1").arg(Hypr.kbLayoutFull)
}
diff --git a/modules/bar/popouts/Wrapper.qml b/modules/bar/popouts/Wrapper.qml
index 7cc3c79..845826d 100644
--- a/modules/bar/popouts/Wrapper.qml
+++ b/modules/bar/popouts/Wrapper.qml
@@ -89,7 +89,7 @@ Item {
sourceComponent: WindowInfo {
screen: root.screen
- client: Hyprland.activeToplevel
+ client: Hypr.activeToplevel
}
}