Revert "hyprland: fix active client on empty ws"
This reverts commit a8151fc89d.
This commit is contained in:
parent
fce253ca7c
commit
61884c07a7
1 changed files with 1 additions and 8 deletions
|
|
@ -11,16 +11,9 @@ Singleton {
|
|||
readonly property var toplevels: Hyprland.toplevels
|
||||
readonly property var workspaces: Hyprland.workspaces
|
||||
readonly property var monitors: Hyprland.monitors
|
||||
|
||||
readonly property HyprlandToplevel activeToplevel: {
|
||||
const t = Hyprland.activeToplevel;
|
||||
if (t?.workspace?.focused || t?.workspace?.name.startsWith("special:"))
|
||||
return t;
|
||||
return null;
|
||||
}
|
||||
readonly property HyprlandToplevel activeToplevel: Hyprland.activeToplevel
|
||||
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