mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
fix: update changePassword function to use SSID variable for network modification
This commit is contained in:
@@ -90,8 +90,9 @@ Singleton {
|
||||
changePasswordProc.exec({
|
||||
"environment": {
|
||||
"PASSWORD": password
|
||||
"SSID": network.ssid
|
||||
},
|
||||
"command": ["bash", "-c", `nmcli connection modify ${network.ssid} wifi-sec.psk "$PASSWORD"`]
|
||||
"command": ["bash", "-c", 'nmcli connection modify "$SSID" wifi-sec.psk "$PASSWORD"']
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user