move bar to Shell module

This commit is contained in:
Benjamin Palko 2025-08-12 22:33:44 -04:00
parent 3e3275a84d
commit b75f8bc1d2
3 changed files with 88 additions and 73 deletions

18
modules/Shell.qml Normal file
View file

@ -0,0 +1,18 @@
import "bar"
import Quickshell
import Quickshell.Wayland
import Quickshell.Hyprland
import QtQuick
import QtQuick.Effects
Variants {
model: Quickshell.screens
Scope {
id: scope
required property ShellScreen modelData
Bar {}
}
}

View file

@ -8,7 +8,6 @@ import "components/hyprland"
import "components/notifications" import "components/notifications"
import "components/tray" import "components/tray"
Scope {
PanelWindow { PanelWindow {
id: parentWindow id: parentWindow
@ -111,4 +110,3 @@ Scope {
} }
} }
} }
}

View file

@ -2,12 +2,11 @@
import Quickshell import Quickshell
import "modules" import "modules"
import "modules/bar"
ShellRoot { ShellRoot {
ReloadPopup {} ReloadPopup {}
Bar {} Shell {}
Shortcuts {} Shortcuts {}
} }