feat(control-center/network): add provisory support for wireless connections

I call it "provisory" because I don't have a Wi-Fi card to test it, but in theory, everything should work
This commit is contained in:
retrozinndev
2025-06-19 19:10:25 -03:00
parent ca31a64234
commit e02f96b151
3 changed files with 146 additions and 48 deletions
+2 -4
View File
@@ -1,9 +1,7 @@
import { exec, execAsync, Gio, GLib } from "astal";
export function getDecoded(text: (Uint8Array)): string {
const decoder = new TextDecoder('utf-8');
return decoder.decode(text);
}
export const decoder = new TextDecoder("utf-8"),
encoder = new TextEncoder();
export function getHyprlandInstanceSig(): (string|null) {
return GLib.getenv("HYPRLAND_INSTANCE_SIGNATURE");