config to disable wallpaper
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import Quickshell.Io
|
||||
import qs.Modules
|
||||
|
||||
JsonObject {
|
||||
property int wallFadeDutation: MaterialEasing.standardTime
|
||||
property bool enabled: true
|
||||
}
|
||||
+2
-2
@@ -16,7 +16,7 @@ Singleton {
|
||||
property alias workspaceWidget: adapter.workspaceWidget
|
||||
property alias colors: adapter.colors
|
||||
property alias gpuType: adapter.gpuType
|
||||
property alias wallFadeDuration: adapter.wallFadeDuration
|
||||
property alias background: adapter.background
|
||||
|
||||
FileView {
|
||||
id: root
|
||||
@@ -41,7 +41,7 @@ Singleton {
|
||||
property WorkspaceWidget workspaceWidget: WorkspaceWidget {}
|
||||
property Colors colors: Colors {}
|
||||
property string gpuType: ""
|
||||
property int wallFadeDuration: MaterialEasing.standardTime
|
||||
property BackgroundConfig background: BackgroundConfig {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import QtQuick
|
||||
import qs.Modules
|
||||
|
||||
NumberAnimation {
|
||||
duration: 400
|
||||
|
||||
+7
-2
@@ -3,9 +3,14 @@ import QtQuick
|
||||
import Quickshell.Wayland
|
||||
import qs.Helpers
|
||||
import qs.Modules
|
||||
import qs.Config
|
||||
|
||||
Scope {
|
||||
Variants {
|
||||
Loader {
|
||||
|
||||
asynchronous: true
|
||||
active: Config.background.enabled
|
||||
|
||||
sourceComponent: Variants {
|
||||
model: Quickshell.screens
|
||||
PanelWindow {
|
||||
id: root
|
||||
|
||||
Reference in New Issue
Block a user