config option to allow showing wallpaper when fullscreen

This commit is contained in:
end-4
2025-08-18 15:04:04 +07:00
parent 5c431096ec
commit 71b82730ab
2 changed files with 2 additions and 1 deletions
@@ -28,7 +28,7 @@ Variants {
// Hide when fullscreen
property list<HyprlandWorkspace> workspacesForMonitor: Hyprland.workspaces.values.filter(workspace=>workspace.monitor && workspace.monitor.name == monitor.name)
property var activeWorkspaceWithFullscreen: workspacesForMonitor.filter(workspace=>((workspace.toplevels.values.filter(window=>window.wayland.fullscreen)[0] != undefined) && workspace.active))[0]
visible: !(activeWorkspaceWithFullscreen != undefined)
visible: (!(activeWorkspaceWithFullscreen != undefined)) || !Config?.options.background.hideWhenFullscreen
// Workspaces
property HyprlandMonitor monitor: Hyprland.monitorFor(modelData)
@@ -127,6 +127,7 @@ Singleton {
property bool enableSidebar: true
}
property string mantra: ""
property bool hideWhenFullscreen: true
}
property JsonObject bar: JsonObject {