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>
This commit is contained in:
commit
99e64a7713
433 files changed
+57792
No files matched your search
@@ -0,0 +1,29 @@
|
||||
import QtQuick
|
||||
import qs.compat.omarchy.Commons
|
||||
// Small-caps-style label that introduces a panel section ("DNS provider",
|
||||
// "Wi-Fi networks", "Output device", "Paired devices"). Sits between a
|
||||
// PanelSeparator and the content rows.
|
||||
Text {
|
||||
id: root
|
||||
|
||||
property color foreground: Color.foreground
|
||||
property string fontFamily: Style.font.family
|
||||
property real fontSize: Style.font.caption
|
||||
|
||||
// Callers bind `text` from outside this file, so the default has to be set
|
||||
// here. AutoText would let a section title that happens to carry a device or
|
||||
// network name promote itself to rich text.
|
||||
textFormat: Text.PlainText
|
||||
color: Qt.darker(foreground, 1.4)
|
||||
font.family: fontFamily
|
||||
font.pixelSize: fontSize
|
||||
font.bold: true
|
||||
|
||||
// Glyphs can paint above the box Text reserves for them: JetBrainsMono Nerd
|
||||
// Font's outlines run 10% of the em past its own ascent, and a patched or
|
||||
// user-chosen family can be worse. That sliver is invisible in normal flow,
|
||||
// but a header sitting at the top of a clipping list — bluetooth's device
|
||||
// list, network's station list — loses it to the clip and renders beheaded.
|
||||
// Reserve the overshoot here so every panel is covered at once.
|
||||
topPadding: Math.ceil(fontSize * 0.15)
|
||||
}
|
||||
Reference in new issue
Block a user