fix bug
This commit is contained in:
parent
ba8dbaf7d5
commit
41aaa02156
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ end
|
|||
|
||||
function network_connection
|
||||
set options (nmcli --terse --fields name connection show)
|
||||
set input (menu $options)
|
||||
set input (menu $options || exit)
|
||||
|
||||
notify-send "Connect to network $input" (nmcli connection up $input)
|
||||
end
|
||||
|
|
@ -103,7 +103,7 @@ function bluetooth_connection
|
|||
end
|
||||
end
|
||||
|
||||
set input (math (menu --index $names) + 1)
|
||||
set input (math (menu --index $names || exit) + 1)
|
||||
|
||||
notify-send "Connect to bluetooth device $names[$input]" (bluetoothctl connect $ids[$input] | string collect)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue