launcher: use qsTr properly
This commit is contained in:
parent
dff2bde9a3
commit
0a8b88201b
2 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ Item {
|
||||||
leftPadding: root.padding
|
leftPadding: root.padding
|
||||||
rightPadding: root.padding
|
rightPadding: root.padding
|
||||||
|
|
||||||
placeholderText: qsTr(`Type "${LauncherConfig.actionPrefix}" for commands`)
|
placeholderText: qsTr("Type \"%1\" for commands").arg(LauncherConfig.actionPrefix)
|
||||||
|
|
||||||
background: StyledRect {
|
background: StyledRect {
|
||||||
color: Colours.alpha(Colours.palette.m3surfaceContainer, true)
|
color: Colours.alpha(Colours.palette.m3surfaceContainer, true)
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ Singleton {
|
||||||
readonly property var monitors: Hyprland.monitors
|
readonly property var monitors: Hyprland.monitors
|
||||||
property Client activeClient: null
|
property Client activeClient: null
|
||||||
readonly property HyprlandWorkspace activeWorkspace: focusedMonitor?.activeWorkspace ?? 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
|
readonly property int activeWsId: activeWorkspace?.id ?? 1
|
||||||
|
|
||||||
function reload() {
|
function reload() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue