Files
z-bar-qt/Modules/Settings/Categories/Background.qml
T

51 lines
682 B
QML

import Quickshell
import QtQuick.Layouts
import qs.Modules.Settings.Controls
import qs.Config
SettingsPage {
id: root
required property ShellScreen screen
SettingsSection {
sectionId: "Wallpaper"
SettingsHeader {
name: "Wallpaper"
}
SettingSwitch {
name: "Enable wallpaper rendering"
object: Config.background
setting: "enabled"
}
Separator {
}
SettingSpinBox {
min: 0
name: "Fade duration"
object: Config.background
setting: "wallFadeDuration"
step: 50
}
Separator {
}
WallpaperCropper {
screen: root.screen
}
}
SettingsSection {
sectionId: "Wallpapers"
WallpaperGrid {
Layout.fillWidth: true
}
}
}