small tweak to stats button, check the new config

This commit is contained in:
SomeElse
2026-04-29 07:50:20 +00:00
parent 1682c0a208
commit cd4e373898
4 changed files with 53 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ QtObject {
property var rightModules: ["Tray", "Notifications", "Volume", "Clock"]
// ── Arch Logo ─────────────────────────────────────────────────────────────
property int logoIconSize: 22 // icon font size; container width scales with it
property int logoIconSize: 23 // icon font size; container width scales with it
property string logoIcon: "󱄅" // Nerd Font glyph for the logo
// ── Panel Styling ─────────────────────────────────────────────────────────
@@ -54,9 +54,15 @@ QtObject {
property int trayIconSize: 20
// ── Stats Styling ─────────────────────────────────────────────────────────
property int statsRingSize: 25
property int statsRingFontSize: 10
property bool statsShowPercentByDefault: true
property int statsRingSize: 23
property int statsRingFontSize: 10
// If true, the % value is shown by default; hovering shows the label, clicking swaps back.
// If false, the label is shown by default; hovering shows the %, clicking swaps back.
property bool statsShowPercentByDefault: true
// If true, text is hidden completely until you hover a ring.
// • Hover → shows the "default" value (% when statsShowPercentByDefault, label otherwise)
// • Click → swaps to the "other" value (label / %)
property bool statsHideTextUntilHover: false
// ── Volume Module ─────────────────────────────────────────────────────────
property int volumeIconSize: 20

View File

@@ -167,7 +167,7 @@ QtObject {
readonly property color notifHistoryEmpty: textDim
// ── BgDate Module ──────────────────────────────────────────────────────────
readonly property color bgDateText: textMain // Date string color
readonly property color bgDateShadow: "#66000000" // Drop shadow for both texts
readonly property color bgDateSecondsText: textMain // Seconds clock — sun-glow gold
readonly property color bgDateText: "#ffffffff" // Pure white (brightest possible)
readonly property color bgDateShadow: "#88000000" // Slightly softer shadow to let the white glow
readonly property color bgDateSecondsText: bgDateText // Brighter, more "sunlight" gold/yellow
}