mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
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`),
|
||||
]
|
||||
});
|
||||
const networkStatus = Box({
|
||||
children: [Label({
|
||||
vpack: 'center',
|
||||
className: 'txt-subtext',
|
||||
setup: (self) => self.hook(Network, (self) => {
|
||||
if (authLock) return;
|
||||
self.label = Network.wifi.state;
|
||||
}),
|
||||
})]
|
||||
});
|
||||
// const networkStatus = Box({
|
||||
// children: [Label({
|
||||
// vpack: 'center',
|
||||
// className: 'txt-subtext',
|
||||
// setup: (self) => self.hook(Network, (self) => {
|
||||
// if (authLock) return;
|
||||
// self.label = Network.wifi.state;
|
||||
// }),
|
||||
// })]
|
||||
// });
|
||||
networkAuthSSID = Label({
|
||||
className: 'margin-left-5',
|
||||
hpack: 'start',
|
||||
|
||||
Reference in New Issue
Block a user