This commit is contained in:
Never Gude 2026-03-11 14:43:15 +01:00
parent ba8dbaf7d5
commit 41aaa02156

View file

@ -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