hypr: fix active window and window focus (#483)
* services/hypr: fix active window and window focus * format --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
This commit is contained in:
parent
ee43b0f7e8
commit
51bcacded4
2 changed files with 6 additions and 1 deletions
|
|
@ -60,6 +60,9 @@ Loader {
|
|||
}
|
||||
}
|
||||
|
||||
mask: Region {}
|
||||
|
||||
|
||||
Loader {
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
|
|
|
|||
|
|
@ -11,9 +11,11 @@ Singleton {
|
|||
readonly property var toplevels: Hyprland.toplevels
|
||||
readonly property var workspaces: Hyprland.workspaces
|
||||
readonly property var monitors: Hyprland.monitors
|
||||
readonly property HyprlandToplevel activeToplevel: Hyprland.activeToplevel
|
||||
|
||||
readonly property HyprlandToplevel activeToplevel: Hyprland.activeToplevel?.wayland?.activated ? Hyprland.activeToplevel : null
|
||||
readonly property HyprlandWorkspace focusedWorkspace: Hyprland.focusedWorkspace
|
||||
readonly property HyprlandMonitor focusedMonitor: Hyprland.focusedMonitor
|
||||
|
||||
readonly property int activeWsId: focusedWorkspace?.id ?? 1
|
||||
readonly property string kbLayout: kbMap.get(kbLayoutFull) ?? "??"
|
||||
property string kbLayoutFull: "?"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue