bar/activewindow: fix anim
This commit is contained in:
parent
4c93de1513
commit
f5f4c51a73
1 changed files with 4 additions and 1 deletions
|
|
@ -16,7 +16,10 @@ Singleton {
|
|||
readonly property var workspaces: Hyprland.workspaces
|
||||
readonly property var monitors: Hyprland.monitors
|
||||
|
||||
readonly property HyprlandToplevel activeToplevel: Hyprland.activeToplevel?.wayland?.activated ? Hyprland.activeToplevel : null
|
||||
readonly property HyprlandToplevel activeToplevel: {
|
||||
const t = Hyprland.activeToplevel;
|
||||
return t?.workspace?.name.startsWith("special:") || Hyprland.focusedWorkspace?.toplevels.values.length > 0 ? t : null;
|
||||
}
|
||||
readonly property HyprlandWorkspace focusedWorkspace: Hyprland.focusedWorkspace
|
||||
readonly property HyprlandMonitor focusedMonitor: Hyprland.focusedMonitor
|
||||
readonly property int activeWsId: focusedWorkspace?.id ?? 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue