feat(hotspot): add Control Center shortcut to toggle hotspot

Closes #349 by exposing a cc-toggle shortcut entry that mirrors service
state and sends the existing hotspot_command toggle action.
This commit is contained in:
Cleboost
2026-08-13 11:13:20 +02:00
parent 3785668387
commit 168861dbb3
4 changed files with 50 additions and 7 deletions
+7 -3
View File
@@ -1,12 +1,12 @@
id = "cleboost/hotspot"
name = "Wi-Fi Hotspot"
version = "1.0.0"
version = "1.1.0"
plugin_api = 9
author = "Cleboost"
license = "MIT"
icon = "router"
description = "Start and stop a Wi-Fi hotspot from the bar, with connected device list and IPC control."
tags = ["network", "bar", "panel", "service", "utility", "system", "indicator"]
description = "Start and stop a Wi-Fi hotspot from the bar or Control Center, with connected device list and IPC control."
tags = ["network", "bar", "panel", "service", "shortcut", "utility", "system", "indicator"]
dependencies = ["nmcli", "iw", "ip"]
[[setting]]
@@ -53,6 +53,10 @@ entry = "widget.luau"
label_key = "settings.glyph.label"
default = "router"
[[shortcut]]
id = "cc-toggle"
entry = "shortcut.luau"
[[panel]]
id = "panel"
entry = "panel.luau"