diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-13 16:39:55 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-13 16:39:55 +0100 |
| commit | 1ef099127f0265fd36fe4b1565ecb735b64cfca3 (patch) | |
| tree | 54b7a354467dd48d4f37814cf274241a23996fc0 /desktop/modules/deckit | |
| parent | 4a1cce078d7d27dcc9218c40a552948759d9cc5f (diff) | |
| download | quickshell-1ef099127f0265fd36fe4b1565ecb735b64cfca3.tar.gz quickshell-1ef099127f0265fd36fe4b1565ecb735b64cfca3.zip | |
feat(fonts): deck-it's text, clock sizes and clock fonts
The Fonts page gets a deck-it section: deck-it's text size (the
override.deckit deck-it already read, with no row until now), and the
dim cover's clock time and date, following it at 8 and 1.6 times unless
given their own size (up to 400px). A Families section names the
clock's fonts, deckit-clock and deckit-date, saved under "family" in
fonts.json; deck-it reads both itself. The name field updates the draft
on every keystroke, since a click on Save takes no focus and an
editingFinished would never come.
The clock font fields leave the deck-it Dashboard page, which wrote
[tablet] keys deck-it no longer reads.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/deckit')
| -rw-r--r-- | desktop/modules/deckit/DeckItDashboardModule.qml | 3 | ||||
| -rw-r--r-- | desktop/modules/deckit/DeckItDashboardPage.qml | 6 |
2 files changed, 1 insertions, 8 deletions
diff --git a/desktop/modules/deckit/DeckItDashboardModule.qml b/desktop/modules/deckit/DeckItDashboardModule.qml index 78a1e5a..ca033f8 100644 --- a/desktop/modules/deckit/DeckItDashboardModule.qml +++ b/desktop/modules/deckit/DeckItDashboardModule.qml @@ -22,11 +22,10 @@ Module { group: "deck-it" dirty: DeckIt.store.dirty keywords: ["deck-it", "tablet", "dashboard", "modules", "panels", "actions", "icons", "hardware", - "network", "battery", "cpu", "gpu", "sensor", "dim", "brightness", "backlight", "clock", "font", "date"] + "network", "battery", "cpu", "gpu", "sensor", "dim", "brightness", "backlight"] readonly property var fields: [ ["modules", "", "Dashboard parts"], ["dashboard", "actions", "Dashboard actions"], ["tablet", "dim_after", "Dim after"], ["tablet", "dim_brightness", "Dim brightness"], - ["tablet", "clock_font", "Clock font"], ["tablet", "clock_font_date", "Date in clock font"], ["hardware", "net", "Network interface"], ["hardware", "battery", "Battery"], ["hardware", "cpu_sensor", "CPU sensor"], ["hardware", "gpu", "GPU"], ["hardware", "gpu_mem_total", "GPU memory"]] diff --git a/desktop/modules/deckit/DeckItDashboardPage.qml b/desktop/modules/deckit/DeckItDashboardPage.qml index 20581a8..14aba95 100644 --- a/desktop/modules/deckit/DeckItDashboardPage.qml +++ b/desktop/modules/deckit/DeckItDashboardPage.qml @@ -74,12 +74,6 @@ Column { hint: "Seconds without a touch before the tablet's backlight goes down; a touch brings it back. 0 turns it off." } Setting { store: col.st; section: "tablet"; key: "dim_brightness"; label: "Dim brightness"; kind: "int"; min: 0; max: 255 placeholder: col.st.placeholder("tablet", "dim_brightness"); hint: "Backlight while dimmed, 0 to 255." } - Setting { store: col.st; section: "tablet"; key: "clock_font"; label: "Clock font" - placeholder: col.st.placeholder("tablet", "clock_font") || "page font" - hint: "A font family installed on the PC (fc-list), for the clock on the dim cover. Empty keeps the page font." } - BoolSetting { store: col.st; section: "tablet"; key: "clock_font_date"; label: "Date in clock font" - fallback: col.def("tablet", "clock_font_date") ?? true - hint: "the date under the clock uses the clock font too" } Heading { text: "Hardware" } Small { text: "Each is auto, or a fixed value such as wlan0, BAT1 or coretemp." } |
