mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-07 22:15:38 -05:00
modals: move HyprFocusGrab out of common Modal
This commit is contained in:
@@ -2,6 +2,8 @@ import Qt.labs.folderlistmodel
|
||||
import QtCore
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
import Quickshell.Io
|
||||
import qs.Common
|
||||
import qs.Modals.Common
|
||||
@@ -13,6 +15,11 @@ DankModal {
|
||||
|
||||
layerNamespace: "dms:file-browser"
|
||||
|
||||
HyprlandFocusGrab {
|
||||
windows: [fileBrowserModal]
|
||||
active: CompositorService.isHyprland && fileBrowserModal.shouldHaveFocus
|
||||
}
|
||||
|
||||
keepPopoutsOpen: true
|
||||
|
||||
property string homeDir: StandardPaths.writableLocation(StandardPaths.HomeLocation)
|
||||
|
||||
Reference in New Issue
Block a user