summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/launcher/Content.qml2
-rw-r--r--services/Hyprland.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/launcher/Content.qml b/modules/launcher/Content.qml
index 6ecced5..5267bc9 100644
--- a/modules/launcher/Content.qml
+++ b/modules/launcher/Content.qml
@@ -57,7 +57,7 @@ Item {
leftPadding: root.padding
rightPadding: root.padding
- placeholderText: qsTr(`Type "${LauncherConfig.actionPrefix}" for commands`)
+ placeholderText: qsTr("Type \"%1\" for commands").arg(LauncherConfig.actionPrefix)
background: StyledRect {
color: Colours.alpha(Colours.palette.m3surfaceContainer, true)
diff --git a/services/Hyprland.qml b/services/Hyprland.qml
index a366e54..a1f5cbb 100644
--- a/services/Hyprland.qml
+++ b/services/Hyprland.qml
@@ -13,7 +13,7 @@ Singleton {
readonly property var monitors: Hyprland.monitors
property Client activeClient: null
readonly property HyprlandWorkspace activeWorkspace: focusedMonitor?.activeWorkspace ?? null
- readonly property HyprlandMonitor focusedMonitor: Hyprland.monitors.values.find(m => m.lastIpcObject.focused) ?? null
+ readonly property HyprlandMonitor focusedMonitor: Hyprland.focusedMonitor
readonly property int activeWsId: activeWorkspace?.id ?? 1
function reload() {