aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-12-02 14:49:24 +0100
committerDanilo M. <danix@danix.xyz>2026-12-02 14:49:24 +0100
commit1445d06e704d28feba3ba45c21ff53cf80e131ec (patch)
treeabf7029cafb217aec60a35f6d774f70dcdc304ee
parente07291ee7c0c65f15d8e0d33dac25da8ef935659 (diff)
downloadquickshell-1445d06e704d28feba3ba45c21ff53cf80e131ec.tar.gz
quickshell-1445d06e704d28feba3ba45c21ff53cf80e131ec.zip
feat(deckit): USB serial setting
deck-it's [tablet] serial, on the General page under the Wi-Fi address, so a phone on USB is never taken for the tablet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--desktop/modules/deckit/DeckItGeneralPage.qml3
-rw-r--r--desktop/modules/deckit/DeckItModule.qml3
-rw-r--r--desktop/modules/deckit/README.md2
3 files changed, 6 insertions, 2 deletions
diff --git a/desktop/modules/deckit/DeckItGeneralPage.qml b/desktop/modules/deckit/DeckItGeneralPage.qml
index 934912a..e6557ed 100644
--- a/desktop/modules/deckit/DeckItGeneralPage.qml
+++ b/desktop/modules/deckit/DeckItGeneralPage.qml
@@ -60,6 +60,9 @@ Column {
Setting { store: col.st; section: "wifi"; key: "address"; label: "Wi-Fi address"
placeholder: "ip:port"
hint: "From the tablet's Wireless debugging screen. The port changes whenever it is switched on; empty tries the last address, then mDNS." }
+ Setting { store: col.st; section: "tablet"; key: "serial"; label: "USB serial"
+ placeholder: "adb serial"
+ hint: "The tablet's serial in adb devices, so a phone on USB is never taken for it. Empty: any USB device that calls itself a tablet." }
Heading { text: "Display" }
BoolSetting { store: col.st; section: "display"; key: "enabled"; label: "Second display"
diff --git a/desktop/modules/deckit/DeckItModule.qml b/desktop/modules/deckit/DeckItModule.qml
index 1a20170..eefaa38 100644
--- a/desktop/modules/deckit/DeckItModule.qml
+++ b/desktop/modules/deckit/DeckItModule.qml
@@ -25,10 +25,11 @@ Module {
settings: true
group: "deck-it"
dirty: DeckIt.store.dirty
- keywords: ["deck-it", "tablet", "android", "stream deck", "adb", "wifi", "avnc", "wayvnc",
+ keywords: ["deck-it", "tablet", "android", "stream deck", "adb", "serial", "usb", "wifi", "avnc", "wayvnc",
"second monitor", "autostart", "display", "resolution", "port", "hyprland", "icon theme"]
readonly property var fields: [
["autostart", "", "Start at login"], ["wifi", "address", "Wi-Fi address"],
+ ["tablet", "serial", "USB serial"],
["display", "enabled", "Second display"], ["display", "resolution", "Resolution"],
["display", "position", "Position"], ["display", "scale", "Scale"],
["display", "refresh", "Refresh"], ["display", "name", "Output name"],
diff --git a/desktop/modules/deckit/README.md b/desktop/modules/deckit/README.md
index 59e5d4e..736ee36 100644
--- a/desktop/modules/deckit/README.md
+++ b/desktop/modules/deckit/README.md
@@ -6,7 +6,7 @@ tablet dashboard, its own repo): whether it starts at login, and its
Services page (`modules/services`) has its state, Start, Stop and Restart.
- Server (`DeckItModule`, `DeckItGeneralPage`): the config path, Start
- (start at login, Wi-Fi address), Display, Tabs (the tablet's tabs) and
+ (start at login, Wi-Fi address, USB serial), Display, Tabs (the tablet's tabs) and
Advanced (ports, Hyprland config, fallback icon theme). Its header carries deck-it's state.
- Dashboard (`DeckItDashboardModule`, `DeckItDashboardPage`): the
Dashboard parts (the modules without a tab), the action icons, the