pragma ComponentBehavior: Bound import QtQuick import QtQuick.Layouts import "../controls" import "../../components" import "../../services" import "../../theme" ColumnLayout { spacing: 22 SettingsSection { title: "Tray" PreferenceToggle { label: "System tray"; description: "Show StatusNotifier applications in the bar"; icon: "󰀻"; setting: "tray.enabled" } PreferenceToggle { label: "Hover menus"; description: "Open application menus on hover"; icon: "󰍜"; setting: "tray.hoverMenus" } PreferenceChoice { label: "Background"; icon: "󰆧"; setting: "tray.background"; choices: ["pill", "transparent", "icons"] } } SettingsSection { title: "Sizing" Repeater { model: [{key:"hoverDelay",label:"Hover delay",min:100,max:2000,step:50,unit:" ms"},{key:"iconSize",label:"Icon size",min:16,max:32,step:1,unit:" px"},{key:"spacing",label:"Spacing",min:0,max:24,step:1,unit:" px"}] SettingRow { id: sizing required property var modelData title: modelData.label setting: "tray." + modelData.key GlassSlider { Layout.preferredWidth: 240; from: sizing.modelData.min; to: sizing.modelData.max; stepSize: sizing.modelData.step; value: TrayService.options[sizing.modelData.key]; onMoved: ConfigService.setValue("tray." + sizing.modelData.key, Math.round(value)) } Text { text: TrayService.options[sizing.modelData.key] + sizing.modelData.unit; color: Theme.textSecondary; font.pixelSize: 12; horizontalAlignment: Text.AlignRight; Layout.preferredWidth: 52 } } } } SettingNote { text: "Right-click opens the application menu. Shift + right-click uses the native menu. Only registered tray applications appear." } }