theme: soften the YoRHa shapes; SUPER+D opens the dashboard
The square markers, block meters and hard-cornered fills read as boxy next to the porthole. The desktop is now soft throughout: the porthole is the shape everything is built around and every smaller surface echoes it. - Theme gains radiusS / radiusM / radiusL. radiusL is frameRadius - padS, so anything inset padS inside one of the frame's curves is concentric with it. - P5Panel and Skew draw rounded rectangles (Geom.roundedRect) whenever they neither lean nor are chopped, which is always now; the polygon path is kept for shapes brought back on purpose. - Markers are dots; workspace pips, toggles, transport and media chips, notification actions and today's date are pills or discs; the slider handle is round. Meters are one continuous rounded line that glides to its level instead of a row of segments. - Album art is rounded with ClippingRectangle in the bar, the media popout and the dashboard. - Free-standing panels (launcher, ask) drop the corner brackets and take the frame radius. - Fix: a hovered notification's wash was a full-bleed square, so in the drawer's bottom corner it ran past the drawer's curve. It is inset by padS/2 and rounded by radiusL, which keeps it inside the curve. Hyprland: the discord special workspace and its window rule are gone, SUPER+S stays the only scratchpad, and SUPER+D now opens the dashboard (it was on SUPER+I). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d6de04eaaf
commit
a8c19961e2
24 files changed
+188
-110
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import QtQuick
|
||||
import QtQuick.Shapes
|
||||
import Quickshell
|
||||
import Quickshell.Widgets
|
||||
import Quickshell.Io
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Hyprland
|
||||
@@ -241,7 +242,7 @@ PanelWindow {
|
||||
|
||||
Rule { height: root.columnHeight }
|
||||
|
||||
// The month, Monday first. Today is the NieR cursor: an inverted square.
|
||||
// The month, Monday first. Today is the NieR cursor: an inverted disc.
|
||||
Item {
|
||||
id: month
|
||||
implicitWidth: 238
|
||||
@@ -311,7 +312,8 @@ PanelWindow {
|
||||
Rectangle {
|
||||
anchors.centerIn: parent
|
||||
width: 22
|
||||
height: 20
|
||||
height: 22
|
||||
radius: 11
|
||||
visible: parent.modelData.today
|
||||
color: Theme.treatmentSelectedFill
|
||||
}
|
||||
@@ -418,10 +420,11 @@ PanelWindow {
|
||||
anchors.bottom: parent.bottom
|
||||
visible: Media.hasPlayer
|
||||
|
||||
Rectangle {
|
||||
ClippingRectangle {
|
||||
id: artFrame
|
||||
width: 96
|
||||
height: 96
|
||||
radius: Theme.radiusL
|
||||
color: Theme.surface
|
||||
border.width: 1
|
||||
border.color: Theme.overlay
|
||||
@@ -506,6 +509,7 @@ PanelWindow {
|
||||
x: parent.width * Media.progress - width / 2
|
||||
width: Theme.marker
|
||||
height: Theme.marker
|
||||
radius: width / 2
|
||||
color: Theme.accent
|
||||
}
|
||||
}
|
||||
@@ -596,7 +600,7 @@ PanelWindow {
|
||||
}
|
||||
}
|
||||
|
||||
// A square hairline button. Hover lifts it; nothing here inverts, since
|
||||
// A round hairline button. Hover lifts it; nothing here inverts, since
|
||||
// inversion is reserved for the keyboard's cursor.
|
||||
component Transport: Item {
|
||||
id: tb
|
||||
@@ -609,6 +613,7 @@ PanelWindow {
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
radius: width / 2
|
||||
color: tbHover.hovered ? Theme.treatmentHoverFill : "transparent"
|
||||
border.width: 1
|
||||
border.color: tbHover.hovered ? Theme.treatmentHoverMark : Theme.overlay
|
||||
|
||||
Reference in new issue
Block a user