feat(wifi-hotspot): add NetworkManager hotspot control plugin (#120)
* feat(wifi-hotspot): add NetworkManager hotspot control plugin Expose bar toggle, panel, and IPC to start/stop a Wi-Fi hotspot and list connected clients. * refactor(hotspot): rename plugin directory to hotspot Align the folder name with the cleboost/hotspot plugin id. * refactor(hotspot): align plugin id and state keys with hotspot slug Update manifest id, IPC references, and shared state keys after the directory rename.
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
id = "cleboost/hotspot"
|
||||
name = "Wi-Fi Hotspot"
|
||||
version = "1.0.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"]
|
||||
dependencies = ["nmcli", "iw", "ip"]
|
||||
|
||||
[[setting]]
|
||||
key = "ssid"
|
||||
type = "string"
|
||||
label_key = "settings.ssid.label"
|
||||
description_key = "settings.ssid.description"
|
||||
default = "Noctalia Hotspot"
|
||||
|
||||
[[setting]]
|
||||
key = "password"
|
||||
type = "string"
|
||||
label_key = "settings.password.label"
|
||||
description_key = "settings.password.description"
|
||||
default = ""
|
||||
|
||||
[[setting]]
|
||||
key = "interface"
|
||||
type = "string"
|
||||
label_key = "settings.interface.label"
|
||||
description_key = "settings.interface.description"
|
||||
default = ""
|
||||
|
||||
[[setting]]
|
||||
key = "refresh_interval"
|
||||
type = "int"
|
||||
label_key = "settings.refresh_interval.label"
|
||||
description_key = "settings.refresh_interval.description"
|
||||
default = 5
|
||||
min = 2
|
||||
max = 60
|
||||
|
||||
[[service]]
|
||||
id = "hotspot"
|
||||
entry = "service.luau"
|
||||
|
||||
[[widget]]
|
||||
id = "toggle"
|
||||
entry = "widget.luau"
|
||||
|
||||
[[widget.setting]]
|
||||
key = "glyph"
|
||||
type = "glyph"
|
||||
label_key = "settings.glyph.label"
|
||||
default = "router"
|
||||
|
||||
[[panel]]
|
||||
id = "panel"
|
||||
entry = "panel.luau"
|
||||
width = 420
|
||||
height = 520
|
||||
placement = "attached"
|
||||
position = "top_right"
|
||||
open_near_click = true
|
||||
Reference in New Issue
Block a user