Files
DankMaterialShell/quickshell/Modules/ProcessList/ProcessListMetrics.qml
T
purian23 76025038df feat(density): interface density setting for shell surfaces
- density setting (spacious, comfortable, compact, dense)
- bar, dock, island and frame sizes follow density presets and keep values the user changed
- launcher no longer rebuilds every frame while the action panel animates
- cc toggle rows match the single-height list rows
- ipc settings set runs change hooks and rejects unknown keys and density values
- state layer focus and pressed follow the library's m3 values
- bump dux-qml-common for density menu and file browser metrics
2026-10-27 20:46:01 -04:00

24 lines
996 B
QML

pragma Singleton
import QtQuick
import Quickshell
import qs.Common
import qs.DCommon.Common as DCommon
import qs.Services
import qs.Modules.Settings.Widgets
Singleton {
readonly property real rowHeight: Math.max(Theme.listItemHeight + Theme.densityStepM, Theme.buttonHeightS + Theme.spacingXS)
readonly property real cpuColumnWidth: Theme.fontSizeSmall * 7
readonly property real memoryColumnWidth: Theme.fontSizeSmall * 8
readonly property real pidColumnWidth: Theme.fontSizeSmall * 6
readonly property real actionColumnWidth: Theme.iconButtonSize
readonly property real headerHeight: Theme.buttonHeightS
readonly property real windowHeight: SettingsMetrics.windowHeight
readonly property real menuWidth: 240
readonly property real menuRowHeight: DCommon.Style.menuRowHeight
readonly property real menuPadding: DCommon.Style.menuPadding
readonly property real dialogWidth: 360
readonly property int refreshInterval: DgopService.updateInterval
}