diff options
Diffstat (limited to 'src/modules/popdowns/networks.tsx')
| -rw-r--r-- | src/modules/popdowns/networks.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/popdowns/networks.tsx b/src/modules/popdowns/networks.tsx index 0e9fe2f..18a38d3 100644 --- a/src/modules/popdowns/networks.tsx +++ b/src/modules/popdowns/networks.tsx @@ -4,7 +4,11 @@ import AstalNetwork from "gi://AstalNetwork"; import PopdownWindow from "../../widgets/popdownwindow"; const Network = (accessPoint: AstalNetwork.AccessPoint) => ( - <box className="network"> + <box + className={bind(AstalNetwork.get_default().wifi, "activeAccessPoint").as( + a => `network ${a === accessPoint ? "active" : ""}` + )} + > <icon className="icon" icon={bind(accessPoint, "iconName")} /> <label truncate |