forked from Shinonome/dots-hyprland
wifi networks: prevent spamming shit-got-destroyed errors
This commit is contained in:
@@ -133,16 +133,16 @@ const CurrentNetwork = () => {
|
|||||||
NetResource('arrow_cool_down', `${App.configDir}/scripts/network_scripts/network_bandwidth.py recv`),
|
NetResource('arrow_cool_down', `${App.configDir}/scripts/network_scripts/network_bandwidth.py recv`),
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
const networkStatus = Box({
|
// const networkStatus = Box({
|
||||||
children: [Label({
|
// children: [Label({
|
||||||
vpack: 'center',
|
// vpack: 'center',
|
||||||
className: 'txt-subtext',
|
// className: 'txt-subtext',
|
||||||
setup: (self) => self.hook(Network, (self) => {
|
// setup: (self) => self.hook(Network, (self) => {
|
||||||
if (authLock) return;
|
// if (authLock) return;
|
||||||
self.label = Network.wifi.state;
|
// self.label = Network.wifi.state;
|
||||||
}),
|
// }),
|
||||||
})]
|
// })]
|
||||||
});
|
// });
|
||||||
networkAuthSSID = Label({
|
networkAuthSSID = Label({
|
||||||
className: 'margin-left-5',
|
className: 'margin-left-5',
|
||||||
hpack: 'start',
|
hpack: 'start',
|
||||||
|
|||||||
Reference in New Issue
Block a user