diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-13 14:06:44 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-13 14:06:44 +0100 |
| commit | 4a1cce078d7d27dcc9218c40a552948759d9cc5f (patch) | |
| tree | e3b5ee5f2a7a6d8cd3d19ceb0b797a9f0f68f3a8 | |
| parent | d531c6b333a1310c08f5c34dfff06613cc3ab54b (diff) | |
| download | quickshell-4a1cce078d7d27dcc9218c40a552948759d9cc5f.tar.gz quickshell-4a1cce078d7d27dcc9218c40a552948759d9cc5f.zip | |
deck-it's [tablet] clock_font and clock_font_date: a text field for a
font family installed on the PC, used by the clock on the tablet's dim
cover (empty keeps the page font), and a switch for whether the date
uses it too. Both are in the page's search fields.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| -rw-r--r-- | desktop/modules/deckit/DeckItDashboardModule.qml | 3 | ||||
| -rw-r--r-- | desktop/modules/deckit/DeckItDashboardPage.qml | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/desktop/modules/deckit/DeckItDashboardModule.qml b/desktop/modules/deckit/DeckItDashboardModule.qml index ca033f8..78a1e5a 100644 --- a/desktop/modules/deckit/DeckItDashboardModule.qml +++ b/desktop/modules/deckit/DeckItDashboardModule.qml @@ -22,10 +22,11 @@ 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"] + "network", "battery", "cpu", "gpu", "sensor", "dim", "brightness", "backlight", "clock", "font", "date"] 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 14aba95..20581a8 100644 --- a/desktop/modules/deckit/DeckItDashboardPage.qml +++ b/desktop/modules/deckit/DeckItDashboardPage.qml @@ -74,6 +74,12 @@ 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." } |
