forked from Shinonome/dots-hyprland
sidebar: add wifi access points
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user