move bar to Shell module
This commit is contained in:
parent
3e3275a84d
commit
b75f8bc1d2
3 changed files with 88 additions and 73 deletions
18
modules/Shell.qml
Normal file
18
modules/Shell.qml
Normal 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 {}
|
||||
}
|
||||
}
|
||||
|
|
@ -8,7 +8,6 @@ import "components/hyprland"
|
|||
import "components/notifications"
|
||||
import "components/tray"
|
||||
|
||||
Scope {
|
||||
PanelWindow {
|
||||
id: parentWindow
|
||||
|
||||
|
|
@ -111,4 +110,3 @@ Scope {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,12 +2,11 @@
|
|||
|
||||
import Quickshell
|
||||
import "modules"
|
||||
import "modules/bar"
|
||||
|
||||
ShellRoot {
|
||||
ReloadPopup {}
|
||||
|
||||
Bar {}
|
||||
Shell {}
|
||||
|
||||
Shortcuts {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue