diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-05 23:55:29 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-05 23:55:29 +1000 |
| commit | 0a8b88201b462a3571506da5b78e3171f9aae4bc (patch) | |
| tree | 84c20ec7536b6a90d62b2afa1450e4d2c16c8c01 | |
| parent | thumbnailer: use single process + load original (diff) | |
| download | caelestia-shell-0a8b88201b462a3571506da5b78e3171f9aae4bc.tar.gz caelestia-shell-0a8b88201b462a3571506da5b78e3171f9aae4bc.tar.bz2 caelestia-shell-0a8b88201b462a3571506da5b78e3171f9aae4bc.zip | |
launcher: use qsTr properly
| -rw-r--r-- | modules/launcher/Content.qml | 2 | ||||
| -rw-r--r-- | services/Hyprland.qml | 2 |
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() { |