sidebar: add wifi access points

This commit is contained in:
end-4
2024-03-31 19:51:43 +07:00
parent b3c484531f
commit b70eaf3a6c
2 changed files with 18 additions and 6 deletions
+6 -6
View File
@@ -17,7 +17,7 @@ import {
} from "./quicktoggles.js";
import ModuleNotificationList from "./centermodules/notificationlist.js";
import ModuleVolumeMixer from "./centermodules/volumemixer.js";
// import ModuleNetworks from "./centermodules/networks.js";
import ModuleWifiNetworks from "./centermodules/wifinetworks.js";
import ModuleBluetooth from "./centermodules/bluetooth.js";
import { ModuleCalendar } from "./calendar.js";
import { getDistroIcon } from '../.miscutils/system.js';
@@ -36,16 +36,16 @@ const centerWidgets = [
materialIcon: 'volume_up',
contentWidget: ModuleVolumeMixer(),
},
// {
// name: 'Networks',
// materialIcon: 'lan',
// contentWidget: ModuleNetworks(),
// },
{
name: 'Bluetooth',
materialIcon: 'bluetooth',
contentWidget: ModuleBluetooth(),
},
{
name: 'Wifi networks',
materialIcon: 'wifi',
contentWidget: ModuleWifiNetworks(),
},
];
const timeRow = Box({
+12
View File
@@ -908,4 +908,16 @@ $waifu_image_overlay_transparency: 0.7;
@include full-rounding;
background-color: $layer2Hover;
padding: 0.341rem;
}
.sidebar-wifinetworks-network {
padding: 0.682rem;
@include normal-rounding;
background-color: $layer2;
color: $onLayer2;
}
.sidebar-wifinetworks-signal {
@include symbolic-icon;
font-size: 2.045rem;
}