config moved to c++ plugin, removed old qml + fileview implementation
This commit is contained in:
+13
-12
@@ -11,9 +11,10 @@ import ZShell.Blobs
|
||||
import qs.Daemons
|
||||
import qs.Components
|
||||
import qs.Modules.Bar
|
||||
import qs.Config
|
||||
import ZShell.Config
|
||||
import qs.Helpers
|
||||
import qs.Drawers
|
||||
import qs.Services
|
||||
|
||||
CustomWindow {
|
||||
id: root
|
||||
@@ -50,7 +51,7 @@ CustomWindow {
|
||||
property var root: Quickshell.shellDir
|
||||
readonly property real sdfBorderOffset: 2 * fsTransitionProg
|
||||
readonly property real shadowOpacity: 0.7 * (1 - fsTransitionProg)
|
||||
property color surfaceColor: DynamicColors.tPalette.m3surface
|
||||
property color surfaceColor: Colors.tPalette.m3surface
|
||||
|
||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||
WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.settings ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
||||
@@ -178,7 +179,7 @@ CustomWindow {
|
||||
|
||||
layer.effect: MultiEffect {
|
||||
blurMax: 32
|
||||
shadowColor: Qt.alpha(DynamicColors.palette.m3shadow, Math.max(0, root.shadowOpacity))
|
||||
shadowColor: Qt.alpha(Colors.palette.m3shadow, Math.max(0, root.shadowOpacity))
|
||||
shadowEnabled: true
|
||||
}
|
||||
|
||||
@@ -209,7 +210,7 @@ CustomWindow {
|
||||
implicitHeight: panels.dashboard.height * (1 + extraHeight)
|
||||
implicitWidth: panels.dashboard.width
|
||||
panel: panels.dashboardWrapper
|
||||
radius: Appearance.rounding.normal
|
||||
radius: Tokens.rounding.normal
|
||||
x: panels.dashboardWrapper.x + panels.dashboard.x + root.borderThickness
|
||||
y: panels.dashboardWrapper.y + panels.dashboard.y + bar.implicitHeight - panels.dashboard.height * extraHeight
|
||||
}
|
||||
@@ -222,7 +223,7 @@ CustomWindow {
|
||||
deformAmount: 0.06
|
||||
implicitHeight: panels.launcher.height * (1 + extraHeight)
|
||||
panel: panels.launcher
|
||||
radius: Appearance.rounding.smallest + 5
|
||||
radius: Tokens.rounding.smallest + 5
|
||||
y: panels.launcher.y + bar.implicitHeight
|
||||
}
|
||||
|
||||
@@ -252,7 +253,7 @@ CustomWindow {
|
||||
id: notifsBg
|
||||
|
||||
panel: panels.notifications
|
||||
radius: Appearance.rounding.normal
|
||||
radius: Tokens.rounding.normal
|
||||
}
|
||||
|
||||
PanelBg {
|
||||
@@ -273,7 +274,7 @@ CustomWindow {
|
||||
implicitHeight: panels.popouts.height * (1 + extraHeight)
|
||||
implicitWidth: panels.popouts.width
|
||||
panel: panels.popoutsWrapper
|
||||
radius: panels.popouts.current?.panelRadius ?? Appearance.rounding.normal
|
||||
radius: panels.popouts.current?.panelRadius ?? Tokens.rounding.normal
|
||||
x: panels.popoutsWrapper.x + panels.popouts.x + root.borderThickness
|
||||
y: panels.popoutsWrapper.y + panels.popouts.y + bar.implicitHeight - panels.popouts.height * extraHeight
|
||||
|
||||
@@ -290,7 +291,7 @@ CustomWindow {
|
||||
implicitHeight: panels.resources.height
|
||||
implicitWidth: panels.resources.width
|
||||
panel: panels.resourcesWrapper
|
||||
radius: Appearance.rounding.large
|
||||
radius: Tokens.rounding.large
|
||||
x: panels.resourcesWrapper.x + panels.resources.x + root.borderThickness
|
||||
y: panels.resourcesWrapper.y + panels.resources.y + bar.implicitHeight
|
||||
}
|
||||
@@ -300,7 +301,7 @@ CustomWindow {
|
||||
|
||||
deformAmount: 0.03
|
||||
panel: panels.settings
|
||||
radius: Appearance.rounding.large + Appearance.padding.normal
|
||||
radius: Tokens.rounding.large + Tokens.padding.normal
|
||||
}
|
||||
|
||||
PanelBg {
|
||||
@@ -308,7 +309,7 @@ CustomWindow {
|
||||
|
||||
deformAmount: 0.08
|
||||
panel: panels.dock
|
||||
radius: Appearance.rounding.normal
|
||||
radius: Tokens.rounding.normal
|
||||
}
|
||||
|
||||
PanelBg {
|
||||
@@ -316,7 +317,7 @@ CustomWindow {
|
||||
|
||||
deformAmount: 0.08
|
||||
panel: panels.drawing
|
||||
radius: Appearance.rounding.normal
|
||||
radius: Tokens.rounding.normal
|
||||
}
|
||||
|
||||
PanelBg {
|
||||
@@ -441,7 +442,7 @@ CustomWindow {
|
||||
group: blobGroup
|
||||
implicitHeight: panel.height
|
||||
implicitWidth: panel.width
|
||||
radius: Appearance.rounding.smallest
|
||||
radius: Tokens.rounding.smallest
|
||||
x: panel.x + root.borderThickness
|
||||
y: panel.y + bar.implicitHeight
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user