diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-13 19:01:00 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-13 19:01:00 +1000 |
| commit | 3fd429c9f30e1b8cffdeca2778c7eb20f8a0647f (patch) | |
| tree | e2c2c8d8e812c7ed960b49686a159b9acaba7b09 /modules/drawers/Drawers.qml | |
| parent | notifs: move to drawers (diff) | |
| download | caelestia-shell-3fd429c9f30e1b8cffdeca2778c7eb20f8a0647f.tar.gz caelestia-shell-3fd429c9f30e1b8cffdeca2778c7eb20f8a0647f.tar.bz2 caelestia-shell-3fd429c9f30e1b8cffdeca2778c7eb20f8a0647f.zip | |
session: move to drawers
Diffstat (limited to 'modules/drawers/Drawers.qml')
| -rw-r--r-- | modules/drawers/Drawers.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml index fe70b8c..5aa5b50 100644 --- a/modules/drawers/Drawers.qml +++ b/modules/drawers/Drawers.qml @@ -4,6 +4,7 @@ import "root:/widgets" import "root:/services" import "root:/config" import Quickshell +import Quickshell.Wayland import QtQuick Variants { @@ -24,6 +25,7 @@ Variants { screen: scope.modelData name: "drawers" exclusionMode: ExclusionMode.Ignore + keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None mask: Region { x: BorderConfig.thickness @@ -77,6 +79,8 @@ Variants { property bool osd property bool notifications: Notifs.popups.length > 0 property bool session + + Component.onCompleted: Visibilities.screens[scope.modelData] = this } Interactions { |