Files
mxandClaude Opus 5.5 99e64a7713 Add glassMxrph shell sources
Initial commit of the Quickshell desktop suite: bar, dock, launcher,
settings, Control Center, dashboard, OSD, lock screen, desktop widgets,
plugin host with the vendored Noctalia/Omarchy compatibility layer,
helpers, packaging, tests and phase documentation.

Includes the optimization work so far: usage widgets and dashboard
gauges no longer animate continuously, desktop widgets pause while
covered, system controls stop flickering on background polls, dock app
matching uses an indexed catalog, and workspace ghosts are created only
for occupied slots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 22:36:17 +02:00

32 lines
1.8 KiB
QML

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." }
}