forked from fr/wpa_tui
1
0
Fork 0

Merge branch 'master' of git.microlab.space:fr/wpa_tui

master
Filip Rojek 1 year ago committed by Emil Miler
commit 22bc032944

@ -10,7 +10,7 @@ networks=$(wpa_cli -i $nic_name list_networks | awk '{print $2}' | tail -n +2)
selected_network=$(echo "$networks" | dmenu -p "Select a network:")
# Get network ID from network name
network_id=$(wpa_cli -i $nic_name list_networks | grep $selected_network | awk '{print $1}')
network_id=$(wpa_cli -i "$nic_name" get_network "$selected_network" id)
# Check if a network was selected
if [ -n "$network_id" ]; then

@ -0,0 +1,8 @@
#include <notcurses/notcurses.h>
#include <stdio.h>
int main(int argc, char ** argv)
{
notcurses_init({TO-DO});
return 0;
}
Loading…
Cancel
Save