forked from Shinonome/dots-hyprland
sidebar: add wifi access points
This commit is contained in:
@@ -17,7 +17,7 @@ import {
|
|||||||
} from "./quicktoggles.js";
|
} from "./quicktoggles.js";
|
||||||
import ModuleNotificationList from "./centermodules/notificationlist.js";
|
import ModuleNotificationList from "./centermodules/notificationlist.js";
|
||||||
import ModuleVolumeMixer from "./centermodules/volumemixer.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 ModuleBluetooth from "./centermodules/bluetooth.js";
|
||||||
import { ModuleCalendar } from "./calendar.js";
|
import { ModuleCalendar } from "./calendar.js";
|
||||||
import { getDistroIcon } from '../.miscutils/system.js';
|
import { getDistroIcon } from '../.miscutils/system.js';
|
||||||
@@ -36,16 +36,16 @@ const centerWidgets = [
|
|||||||
materialIcon: 'volume_up',
|
materialIcon: 'volume_up',
|
||||||
contentWidget: ModuleVolumeMixer(),
|
contentWidget: ModuleVolumeMixer(),
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// name: 'Networks',
|
|
||||||
// materialIcon: 'lan',
|
|
||||||
// contentWidget: ModuleNetworks(),
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
name: 'Bluetooth',
|
name: 'Bluetooth',
|
||||||
materialIcon: 'bluetooth',
|
materialIcon: 'bluetooth',
|
||||||
contentWidget: ModuleBluetooth(),
|
contentWidget: ModuleBluetooth(),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Wifi networks',
|
||||||
|
materialIcon: 'wifi',
|
||||||
|
contentWidget: ModuleWifiNetworks(),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const timeRow = Box({
|
const timeRow = Box({
|
||||||
|
|||||||
@@ -909,3 +909,15 @@ $waifu_image_overlay_transparency: 0.7;
|
|||||||
background-color: $layer2Hover;
|
background-color: $layer2Hover;
|
||||||
padding: 0.341rem;
|
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