internal: rename dcontent -> controlcenter
This commit is contained in:
parent
2628ee1c41
commit
fb650907a0
11 changed files with 7 additions and 9 deletions
|
|
@ -12,7 +12,7 @@ Singleton {
|
|||
property alias bar: adapter.bar
|
||||
property alias border: adapter.border
|
||||
property alias dashboard: adapter.dashboard
|
||||
property alias dcontent: adapter.dcontent
|
||||
property alias controlCenter: adapter.controlCenter
|
||||
property alias launcher: adapter.launcher
|
||||
property alias notifs: adapter.notifs
|
||||
property alias osd: adapter.osd
|
||||
|
|
@ -36,7 +36,7 @@ Singleton {
|
|||
property BarConfig bar: BarConfig {}
|
||||
property BorderConfig border: BorderConfig {}
|
||||
property DashboardConfig dashboard: DashboardConfig {}
|
||||
property DContentConfig dcontent: DContentConfig {}
|
||||
property ControlCenterConfig controlCenter: ControlCenterConfig {}
|
||||
property LauncherConfig launcher: LauncherConfig {}
|
||||
property NotifsConfig notifs: NotifsConfig {}
|
||||
property OsdConfig osd: OsdConfig {}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ pragma ComponentBehavior: Bound
|
|||
import qs.services
|
||||
import qs.config
|
||||
import qs.modules.windowinfo
|
||||
import qs.modules.detachedcontent
|
||||
import qs.modules.controlcenter
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Hyprland
|
||||
|
|
@ -94,13 +94,11 @@ Item {
|
|||
}
|
||||
|
||||
Comp {
|
||||
id: detachedContent
|
||||
|
||||
shouldBeActive: root.detachedMode === "any"
|
||||
asynchronous: true
|
||||
anchors.centerIn: parent
|
||||
|
||||
sourceComponent: DetachedContent {
|
||||
sourceComponent: ControlCenter {
|
||||
screen: root.screen
|
||||
active: root.queuedMode
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ Item {
|
|||
id: session
|
||||
}
|
||||
|
||||
implicitWidth: implicitHeight * Config.dcontent.sizes.ratio
|
||||
implicitHeight: screen.height * Config.dcontent.sizes.heightMult
|
||||
implicitWidth: implicitHeight * Config.controlCenter.sizes.ratio
|
||||
implicitHeight: screen.height * Config.controlCenter.sizes.heightMult
|
||||
|
||||
RowLayout {
|
||||
anchors.fill: parent
|
||||
|
|
@ -115,7 +115,7 @@ Item {
|
|||
PropertyChanges {
|
||||
expandedLabel.opacity: 1
|
||||
smallLabel.opacity: 0
|
||||
background.implicitWidth: Config.dcontent.sizes.expandedNavWidth
|
||||
background.implicitWidth: Config.controlCenter.sizes.expandedNavWidth
|
||||
background.implicitHeight: icon.implicitHeight + Appearance.padding.normal * 2
|
||||
item.implicitHeight: background.implicitHeight
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue