forked from Shinonome/dots-hyprland
Fix background hiding in fullscreen
This commit is contained in:
@@ -26,9 +26,9 @@ Variants {
|
|||||||
required property var modelData
|
required property var modelData
|
||||||
|
|
||||||
// Hide when fullscreen
|
// Hide when fullscreen
|
||||||
readonly property Toplevel activeWindow: ToplevelManager.activeToplevel
|
readonly property var monitorHasFullscreen: ToplevelManager.toplevels.values.filter(window=>(window.screens[0].name == monitor.name) && window.fullscreen)[0]
|
||||||
property bool focusingThisMonitor: HyprlandData.activeWorkspace?.monitor == monitor.name
|
|
||||||
visible: !(activeWindow?.fullscreen && activeWindow?.activated && focusingThisMonitor)
|
visible: !(monitorHasFullscreen != undefined)
|
||||||
|
|
||||||
// Workspaces
|
// Workspaces
|
||||||
property HyprlandMonitor monitor: Hyprland.monitorFor(modelData)
|
property HyprlandMonitor monitor: Hyprland.monitorFor(modelData)
|
||||||
|
|||||||
Reference in New Issue
Block a user