mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 15:32:50 -05:00
modals: move HyprFocusGrab out of common Modal
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import QtQuick
|
||||
import QtQuick.Effects
|
||||
import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
import Quickshell.Io
|
||||
import qs.Common
|
||||
import qs.Modals.Common
|
||||
@@ -13,6 +15,11 @@ DankModal {
|
||||
|
||||
layerNamespace: "dms:settings"
|
||||
|
||||
HyprlandFocusGrab {
|
||||
windows: [settingsModal]
|
||||
active: CompositorService.isHyprland && settingsModal.shouldHaveFocus
|
||||
}
|
||||
|
||||
property Component settingsContent
|
||||
property alias profileBrowser: profileBrowser
|
||||
property int currentTabIndex: 0
|
||||
|
||||
Reference in New Issue
Block a user