summaryrefslogtreecommitdiff
path: root/modules/bar/popouts
diff options
context:
space:
mode:
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
}
}